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:
@@ -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);
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user