mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-04 21:04:18 +01:00
*** empty log message ***
This commit is contained in:
@@ -178,7 +178,7 @@ testList(WMScreen *scr)
|
|||||||
WMSetLabelText(mtitle, "Multiple selection list");
|
WMSetLabelText(mtitle, "Multiple selection list");
|
||||||
|
|
||||||
list = WMCreateList(win);
|
list = WMCreateList(win);
|
||||||
//WMSetListAllowEmptySelection(list, True);
|
WMSetListAllowEmptySelection(list, True);
|
||||||
WMMoveWidget(list, 10, 40);
|
WMMoveWidget(list, 10, 40);
|
||||||
for (i=0; i<50; i++) {
|
for (i=0; i<50; i++) {
|
||||||
sprintf(text, "Item %i", i);
|
sprintf(text, "Item %i", i);
|
||||||
@@ -186,7 +186,7 @@ testList(WMScreen *scr)
|
|||||||
}
|
}
|
||||||
mlist = WMCreateList(win);
|
mlist = WMCreateList(win);
|
||||||
WMSetListAllowMultipleSelection(mlist, True);
|
WMSetListAllowMultipleSelection(mlist, True);
|
||||||
//WMSetListAllowEmptySelection(mlist, True);
|
WMSetListAllowEmptySelection(mlist, True);
|
||||||
WMMoveWidget(mlist, 210, 40);
|
WMMoveWidget(mlist, 210, 40);
|
||||||
for (i=0; i<135; i++) {
|
for (i=0; i<135; i++) {
|
||||||
sprintf(text, "Item %i", i);
|
sprintf(text, "Item %i", i);
|
||||||
@@ -529,6 +529,17 @@ testText(WMScreen *scr)
|
|||||||
if(file) {
|
if(file) {
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
|
|
||||||
|
<<<<<<< wtest.c
|
||||||
|
WMFreezeText(text);
|
||||||
|
while(fgets(buf, 1023, file))
|
||||||
|
WMAppendTextStream(text, buf);
|
||||||
|
|
||||||
|
fclose(file);
|
||||||
|
WMThawText(text);
|
||||||
|
} else {
|
||||||
|
WMAppendTextStream(text, "<HTML><i>Where's</i> the <b>README</b>?");
|
||||||
|
}
|
||||||
|
=======
|
||||||
WMFreezeText(text);
|
WMFreezeText(text);
|
||||||
while(fgets(buf, 1023, file))
|
while(fgets(buf, 1023, file))
|
||||||
WMAppendTextStream(text, buf);
|
WMAppendTextStream(text, buf);
|
||||||
@@ -539,6 +550,7 @@ testText(WMScreen *scr)
|
|||||||
} else {
|
} else {
|
||||||
WMAppendTextStream(text, "<HTML><i>Where's</i> the <b>README</b>?");
|
WMAppendTextStream(text, "<HTML><i>Where's</i> the <b>README</b>?");
|
||||||
}
|
}
|
||||||
|
>>>>>>> 1.12
|
||||||
|
|
||||||
WMRealizeWidget(win);
|
WMRealizeWidget(win);
|
||||||
WMMapSubwidgets(win);
|
WMMapSubwidgets(win);
|
||||||
|
|||||||
Reference in New Issue
Block a user