aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/container_nested
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-09-26 16:30:53 +1000
committerinmarket <andrewh@inmarket.com.au>2014-09-26 16:30:53 +1000
commite7bc175ca0fb1b1d2bd6a80d36696efa6dc0d171 (patch)
treec140dc3c6e9c3030334e17fef8a2b8af1ba5f07b /demos/modules/gwin/container_nested
parent72d04f891b5dd09ec4abdc8073a285b5d513946d (diff)
downloaduGFX-e7bc175ca0fb1b1d2bd6a80d36696efa6dc0d171.tar.gz
uGFX-e7bc175ca0fb1b1d2bd6a80d36696efa6dc0d171.tar.bz2
uGFX-e7bc175ca0fb1b1d2bd6a80d36696efa6dc0d171.zip
Demos updated to remove now deprecated function gwinAttachMouse
Diffstat (limited to 'demos/modules/gwin/container_nested')
-rw-r--r--demos/modules/gwin/container_nested/main.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/demos/modules/gwin/container_nested/main.c b/demos/modules/gwin/container_nested/main.c
index 2d90f76b..5cd5e793 100644
--- a/demos/modules/gwin/container_nested/main.c
+++ b/demos/modules/gwin/container_nested/main.c
@@ -40,7 +40,7 @@ static void createWidgets(void) {
wi.text = "Container 3";
ghContainer3 = gwinContainerCreate(0, &wi, GWIN_CONTAINER_BORDER);
- // Button 1
+ // Button 1
wi.g.width = 80;
wi.g.height = 20;
wi.g.y = 10;
@@ -49,7 +49,7 @@ static void createWidgets(void) {
wi.g.parent = ghContainer2;
ghButton1 = gwinButtonCreate(0, &wi);
- // Button 2
+ // Button 2
wi.g.width = 80;
wi.g.height = 20;
wi.g.y = 40;
@@ -58,7 +58,7 @@ static void createWidgets(void) {
wi.g.parent = ghContainer2;
ghButton2 = gwinButtonCreate(0, &wi);
- // Button 3
+ // Button 3
wi.g.width = 80;
wi.g.height = 20;
wi.g.y = 10;
@@ -67,7 +67,7 @@ static void createWidgets(void) {
wi.g.parent = ghContainer3;
ghButton3 = gwinButtonCreate(0, &wi);
- // Button 4
+ // Button 4
wi.g.width = 80;
wi.g.height = 20;
wi.g.y = 40;
@@ -115,9 +115,6 @@ int main(void) {
// Initialize the display
gfxInit();
- // Attach the mouse input
- gwinAttachMouse(0);
-
// Set the widget defaults
gwinSetDefaultFont(gdispOpenFont("*"));
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);