mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-06 13:54:12 +01:00
another test for cvs notifications
This commit is contained in:
@@ -116,14 +116,14 @@ testFrame(WMScreen *scr)
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
/*static void
|
||||
resizedWindow(void *self, WMNotification *notif)
|
||||
{
|
||||
WMView *view = (WMView*)WMGetNotificationObject(notif);
|
||||
WMSize size = WMGetViewSize(view);
|
||||
|
||||
WMResizeWidget((WMWidget*)self, size.width, size.height);
|
||||
}
|
||||
}*/
|
||||
|
||||
void
|
||||
testBox(WMScreen *scr)
|
||||
@@ -609,7 +609,8 @@ testText(WMScreen *scr)
|
||||
WMFont *font, *ifont;
|
||||
|
||||
font = WMDefaultSystemFont(scr);
|
||||
ifont = WMCopyFontWithStyle(scr, font, WFSEmphasized);
|
||||
//ifont = WMCopyFontWithStyle(scr, font, WFSEmphasized);
|
||||
ifont = WMCreateFont(scr, "verdana,sans:pixelsize=12:italic");
|
||||
if (ifont) {
|
||||
WMSetTextDefaultFont(text, ifont);
|
||||
WMReleaseFont(ifont);
|
||||
@@ -619,7 +620,7 @@ testText(WMScreen *scr)
|
||||
WMReleaseFont(font);
|
||||
}
|
||||
|
||||
if(file) {
|
||||
if (file) {
|
||||
char buf[1024];
|
||||
|
||||
WMFreezeText(text);
|
||||
|
||||
Reference in New Issue
Block a user