mirror of
https://github.com/gryf/wmaker.git
synced 2026-03-12 12:35:51 +01:00
- Updated WINGs/NEWS with info about hw the API changed how how things
are affected. Fixes for old code too. - Double buffering in WMList. All widgets or apps using WMList and having user drawing porcedures in place will inherit this double buffering automatically too. - New functions in WINGs: WMGetColorAlpha(), WMIsAAFont() - Misc code cleanups in WINGs and src/dialog.c
This commit is contained in:
@@ -835,7 +835,7 @@ paintTextField(TextField *tPtr)
|
||||
}
|
||||
|
||||
totalWidth = tPtr->view->size.width - 2*bd;
|
||||
|
||||
|
||||
drawbuffer = XCreatePixmap(screen->display, view->window,
|
||||
view->size.width, view->size.height, screen->depth);
|
||||
XFillRectangle(screen->display, drawbuffer, WMColorGC(screen->white),
|
||||
@@ -849,7 +849,7 @@ paintTextField(TextField *tPtr)
|
||||
if (tPtr->textLen > 0) {
|
||||
tw = WMWidthOfString(tPtr->font, &(text[tPtr->viewPosition]),
|
||||
tPtr->textLen - tPtr->viewPosition);
|
||||
|
||||
|
||||
th = WMFontHeight(tPtr->font);
|
||||
|
||||
ty = tPtr->offsetWidth;
|
||||
|
||||
Reference in New Issue
Block a user