summaryrefslogtreecommitdiff
path: root/src/dillo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dillo.cc')
-rw-r--r--src/dillo.cc20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/dillo.cc b/src/dillo.cc
index ee2f4da4..0a68cb59 100644
--- a/src/dillo.cc
+++ b/src/dillo.cc
@@ -56,7 +56,9 @@
#include "lout/debug.hh"
#include "dw/fltkcore.hh"
+#include "dw/widget.hh"
#include "dw/textblock.hh"
+#include "dw/table.hh"
/*
* Command line options structure
@@ -377,10 +379,18 @@ static DilloUrl *makeStartUrl(char *str, bool local)
*/
int main(int argc, char **argv)
{
- DBG_OBJ_COLOR("#c0ff80", "dw::*");
- DBG_OBJ_COLOR("#c0c0ff", "dw::fltk::*");
- DBG_OBJ_COLOR("#ffa0a0", "dw::core::*");
- DBG_OBJ_COLOR("#ffe0a0", "dw::core::style::*");
+ DBG_OBJ_COLOR ("dw::*", "#c0ff80");
+ DBG_OBJ_COLOR ("dw::fltk::*", "#c0c0ff");
+ DBG_OBJ_COLOR ("dw::core::*", "#ffa0a0");
+ DBG_OBJ_COLOR ("dw::core::style::*", "#ffe0a0");
+
+ DBG_OBJ_COLOR ("dw::Image", "#80ffa0");
+ DBG_OBJ_COLOR ("dw::Textblock", "#f0ff80");
+ DBG_OBJ_COLOR ("dw::OutOfFlowMgr", "#d0ff80");
+ DBG_OBJ_COLOR ("dw::AlignedTextblock", "#e0ff80");
+ DBG_OBJ_COLOR ("dw::ListItem", "#b0ff80");
+ DBG_OBJ_COLOR ("dw::TableCell", "#80ff80");
+ DBG_OBJ_COLOR ("dw::Table", "#80ffc0");
uint_t opt_id;
uint_t options_got = 0;
@@ -475,6 +485,8 @@ int main(int argc, char **argv)
a_UIcmd_init();
StyleEngine::init();
+ dw::core::Widget::setAdjustMinWidth (prefs.adjust_min_width);
+ dw::Table::setAdjustTableMinWidth (prefs.adjust_table_min_width);
dw::Textblock::setPenaltyHyphen (prefs.penalty_hyphen);
dw::Textblock::setPenaltyHyphen2 (prefs.penalty_hyphen_2);
dw::Textblock::setPenaltyEmDashLeft (prefs.penalty_em_dash_left);