17 #include <gwenhywfar/debug.h>
18 #include <gwenhywfar/i18n.h>
19 #include <gwenhywfar/stringlist.h>
24 #define MAX_DEFAULT_WIDTH 400
43 FXint x, FXint y, FXint w, FXint h,
46 :FXFrame(p, opts, x, y, w, h, pl, pr, pt, pb)
49 ,m_maxDefaultWidth(-1)
50 ,m_haveDefaultDims(false)
56 flags|=FLAG_ENABLED|FLAG_DIRTY|FLAG_RECALC;
128 if (options & FLAGS_NO_WORDWRAP)
130 else if (options & FLAGS_USE_FULL_WIDTH)
139 for (i=0; i<10; i++) {
147 if (ar>=3.5 && ar<4.0)
215 FXEvent *ev=(FXEvent*)ptr;
216 FXDCWindow dc(
this, ev);
218 dc.setForeground(backColor);
219 dc.fillRectangle(border, border, width-(border*2), height-(border*2));
229 dc.drawIcon(
m_icon, border, border);
231 dc.drawIconSunken(
m_icon, border, border);
294 if (options & FLAGS_NO_WORDWRAP)
296 else if (options & FLAGS_USE_FULL_WIDTH) {