Initial import of Dillo

This commit is contained in:
2025-02-28 13:34:30 -05:00
parent bd4e3eebd8
commit 20fea64cb5
496 changed files with 156174 additions and 0 deletions

42
dw/tablecell.hh Normal file
View File

@ -0,0 +1,42 @@
#ifndef __DW_TABLECELL_HH__
#define __DW_TABLECELL_HH__
#include "core.hh"
namespace dw {
namespace tablecell {
inline bool usesMaxGeneratorWidth () { return true; }
bool getAdjustMinWidth ();
bool isBlockLevel ();
int correctAvailWidthOfChild (core::Widget *widget, core::Widget *child,
int width, bool forceValue);
int correctAvailHeightOfChild (core::Widget *widget, core::Widget *child,
int height, bool forceValue);
void correctCorrectedRequisitionOfChild (core::Widget *widget,
core::Widget *child,
core::Requisition *requisition,
void (*splitHeightFun) (int, int*,
int*),
bool allowDecreaseWidth,
bool allowDecreaseHeight);
void correctCorrectedExtremesOfChild (core::Widget *widget, core::Widget *child,
core::Extremes *extremes,
bool useAdjustmentWidth);
int applyPerWidth (core::Widget *widget, int containerWidth,
core::style::Length perWidth);
int applyPerHeight (core::Widget *widget, int containerHeight,
core::style::Length perHeight);
inline bool adjustExtraSpaceWhenCorrectingRequisitionByOOF () { return false; }
} // namespace dw
} // namespace dw
#endif // __DW_TABLECELL_HH__