1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-03 04:14:20 +01:00

Fixed some // style comments

This commit is contained in:
dan
2000-11-04 03:24:34 +00:00
parent 902e985a53
commit 857b56c502
3 changed files with 5 additions and 5 deletions

View File

@@ -178,7 +178,7 @@ testList(WMScreen *scr)
WMSetLabelText(mtitle, "Multiple selection list");
list = WMCreateList(win);
WMSetListAllowEmptySelection(list, True);
/*WMSetListAllowEmptySelection(list, True);*/
WMMoveWidget(list, 10, 40);
for (i=0; i<50; i++) {
sprintf(text, "Item %i", i);
@@ -186,7 +186,7 @@ testList(WMScreen *scr)
}
mlist = WMCreateList(win);
WMSetListAllowMultipleSelection(mlist, True);
WMSetListAllowEmptySelection(mlist, True);
/*WMSetListAllowEmptySelection(mlist, True);*/
WMMoveWidget(mlist, 210, 40);
for (i=0; i<135; i++) {
sprintf(text, "Item %i", i);

View File

@@ -471,7 +471,7 @@ vScrollCallBack(WMWidget *scroller, void *self)
(float)(itemCount - lPtr->fullFitLines);
if (oldTopItem != lPtr->topItem)
paintList(lPtr); // use updateScroller(lPtr) here?
paintList(lPtr); /* use updateScroller(lPtr) here? -Dan */
break;
case WSKnobSlot:

View File

@@ -483,7 +483,7 @@ handleActionEvents(XEvent *event, void *data)
case ButtonPress:
if (event->xbutton.button==WINGsConfiguration.mouseWheelUp
&&!sPtr->flags.dragging) {
// Wheel up
/* Wheel up */
if (sPtr->value+1<=sPtr->maxValue) {
WMSetSliderValue(sPtr, sPtr->value+1);
if (sPtr->flags.continuous && sPtr->action) {
@@ -492,7 +492,7 @@ handleActionEvents(XEvent *event, void *data)
}
} else if (event->xbutton.button==WINGsConfiguration.mouseWheelDown
&&!sPtr->flags.dragging) {
// Wheel down
/* Wheel down */
if (sPtr->value-1>=sPtr->minValue)
{
WMSetSliderValue(sPtr, sPtr->value-1);