1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-13 04:15:50 +01:00

replaced linked lists with WMBag, added progress indicator

This commit is contained in:
kojima
1999-09-16 02:55:56 +00:00
parent 54c54401d4
commit 052ab01c84
20 changed files with 889 additions and 444 deletions

View File

@@ -330,6 +330,30 @@ testTextField(WMScreen *scr)
}
void
testProgressIndicator(WMScreen *scr)
{
WMWindow *win;
WMProgressIndicator *pPtr;
windowCount++;
win = WMCreateWindow(scr, "testProgressIndicator");
WMResizeWidget(win, 292, 32);
WMSetWindowCloseAction(win, closeAction, NULL);
pPtr = WMCreateProgressIndicator(win);
WMMoveWidget(pPtr, 8, 8);
WMSetProgressIndicatorValue(pPtr, 75);
WMRealizeWidget(win);
WMMapSubwidgets(win);
WMMapWidget(win);
}
void
testPullDown(WMScreen *scr)
{
@@ -437,14 +461,16 @@ testTabView(WMScreen *scr)
}
#include "WUtil.h"
int main(int argc, char **argv)
{
WMScreen *scr;
WMPixmap *pixmap;
/* Initialize the application */
WMInitializeApplication("Test", &argc, argv);
@@ -486,17 +512,19 @@ int main(int argc, char **argv)
* Put the testSomething() function you want to test here.
*/
testGradientButtons(scr);
testFontPanel(scr);
#if 0
testProgressIndicator(scr);
testGradientButtons(scr);
testColorWell(scr);
testTabView(scr);
testTextField(scr);
testOpenFilePanel(scr);
testFontPanel(scr);
testList(scr);
testGradientButtons(scr);
testScrollView(scr);