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);
long onPaint(FXObject *, FXSelector, void *)
FOX16_HtmlCtx * m_htmlCtx
virtual FXint getContentWidth()
virtual FXint getContentHeight()
FOX16_HtmlText(FXComposite *p, const FXString &text, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
void setText(const FXString &text)
Set the text for this label.
void makePositionVisible(FXint pos)
FXDEFMAP(FOX16_HtmlText) FOX16_HtmlTextMap[]