diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-06-23 13:02:07 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-06-23 13:02:07 +1000 |
commit | 41271d632b74f5cf47c30d3b699eb6b2786f2136 (patch) | |
tree | 78bcb729c6d6177ca598f28908fefd186c50e9b6 /demos/modules/gwin/container_nested | |
parent | 3b97fb798e96514057bcf17263c1e5dbdcd7da26 (diff) | |
download | uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.gz uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.bz2 uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.zip |
Added new type definitions - moving towards V3.0
Diffstat (limited to 'demos/modules/gwin/container_nested')
-rw-r--r-- | demos/modules/gwin/container_nested/main.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/demos/modules/gwin/container_nested/main.c b/demos/modules/gwin/container_nested/main.c index 0e5a2634..6d86704e 100644 --- a/demos/modules/gwin/container_nested/main.c +++ b/demos/modules/gwin/container_nested/main.c @@ -10,7 +10,7 @@ static void createWidgets(void) { // Apply some default values for GWIN gwinWidgetClearInit(&wi); - wi.g.show = FALSE; + wi.g.show = gFalse; // Container 1 wi.g.width = 300; @@ -20,7 +20,7 @@ static void createWidgets(void) { wi.text = "Container 1"; ghContainer1 = gwinContainerCreate(0, &wi, GWIN_CONTAINER_BORDER); - wi.g.show = TRUE; + wi.g.show = gTrue; // Container 2 wi.g.width = 100; @@ -117,7 +117,7 @@ int main(void) { // Set the widget defaults gwinSetDefaultFont(gdispOpenFont("*")); - gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); + gwinSetDefaultStyle(&WhiteWidgetStyle, gFalse); gdispClear(GFX_WHITE); // Create the widget @@ -128,9 +128,9 @@ int main(void) { gwinAttachListener(&gl); // Set the initial state of the checkboxes - gwinCheckboxCheck(ghCheckbox1, TRUE); - gwinCheckboxCheck(ghCheckbox2, TRUE); - gwinCheckboxCheck(ghCheckbox3, TRUE); + gwinCheckboxCheck(ghCheckbox1, gTrue); + gwinCheckboxCheck(ghCheckbox2, gTrue); + gwinCheckboxCheck(ghCheckbox3, gTrue); while(1) { // Get an Event |