1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-11 03:05:52 +01:00

fixed bug in texture panel

This commit is contained in:
kojima
1999-04-19 00:27:47 +00:00
parent df04a0a157
commit bc0b869ba9
5 changed files with 117 additions and 4 deletions

View File

@@ -255,6 +255,12 @@ testColorWell(WMScreen *scr)
WMMapWidget(win);
}
void
sliderCallback(WMWidget *w, void *data)
{
printf("SLIEDER == %i\n", WMGetSliderValue(w));
}
void
testSlider(WMScreen *scr)
@@ -274,6 +280,8 @@ testSlider(WMScreen *scr)
WMResizeWidget(s, 16, 100);
WMMoveWidget(s, 100, 100);
WMSetSliderKnobThickness(s, 8);
WMSetSliderContinuous(s, False);
WMSetSliderAction(s, sliderCallback, s);
s = WMCreateSlider(win);
WMResizeWidget(s, 100, 16);