17 #include <gwenhywfar/debug.h> 18 #include <gwenhywfar/i18n.h> 23 #define MAX_DEFAULT_WIDTH 400 42 FXint x, FXint y, FXint w, FXint h)
43 :FXScrollArea(p, opts, x, y, w, h)
47 ,m_haveDefaultDims(false)
134 FXEvent*
event=(FXEvent*)ptr;
135 FXDCWindow dc(
this,event);
140 dc.setForeground(backColor);
141 dc.fillRectangle(event->rect.x, event->rect.y, event->rect.w, event->rect.h);
145 dc.setForeground(backColor);
146 dc.fillRectangle(0, 0, viewport_w,
margintop);
150 if (event->rect.y+event->rect.h>=viewport_h-
marginbottom) {
151 dc.setForeground(backColor);
157 dc.setForeground(backColor);
162 if(event->rect.x+event->rect.w>=viewport_w-
marginright) {
163 dc.setForeground(backColor);
210 FXScrollArea::layout();
234 if (xPos>=0 && yPos>=0)
235 setPosition(-xPos, -yPos);
int layout(int width, int height)
FXDEFMAP(FOX16_HtmlText) FOX16_HtmlTextMap[]
void makePositionVisible(FXint pos)
long onPaint(FXObject *, FXSelector, void *)
void setText(const FXString &text)
Set the text for this label.
void setText(const char *s)
void setForegroundColor(FXColor c)
FOX16_HtmlCtx * m_htmlCtx
virtual FXint getContentWidth()
virtual FXint getContentHeight()
FXIMPLEMENT(FOX16_GuiSortingList, FXFoldingList, FOX16_GuiSortingListMap, ARRAYNUMBER(FOX16_GuiSortingListMap)) FOX16_GuiSortingList
void setBackgroundColor(FXColor c)
#define DBG_ERROR(dbg_logger, format, args...)
void paintAt(FXDC *dc, int xOffset, int yOffset, int xText, int yText, int w, int h)
#define MAX_DEFAULT_WIDTH