aboutsummaryrefslogtreecommitdiff
path: root/dw/tablecell.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/tablecell.hh')
-rw-r--r--dw/tablecell.hh27
1 files changed, 27 insertions, 0 deletions
diff --git a/dw/tablecell.hh b/dw/tablecell.hh
new file mode 100644
index 00000000..0b3b324f
--- /dev/null
+++ b/dw/tablecell.hh
@@ -0,0 +1,27 @@
+#ifndef __DW_TABLECELL_HH__
+#define __DW_TABLECELL_HH__
+
+#include "core.hh"
+
+namespace dw {
+
+namespace tablecell {
+
+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);
+
+int applyPerWidth (core::Widget *widget, int containerWidth,
+ core::style::Length perWidth);
+int applyPerHeight (core::Widget *widget, int containerHeight,
+ core::style::Length perHeight);
+
+} // namespace dw
+
+} // namespace dw
+
+#endif // __DW_TABLECELL_HH__