aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/container_nested
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-11-12 08:50:05 +0100
committerJoel Bodenmann <joel@unormal.org>2014-11-12 08:50:05 +0100
commitd3a0606c65535be34cb38e6cfb3ba8d92657ad82 (patch)
tree0baf7c7a132138efc5a5a223f986795521108187 /demos/modules/gwin/container_nested
parentf793194e43b130ae9e5133ac7d03bd819ce77e91 (diff)
parent04334f284c8c4236e2a07b6611ddb790ee05db72 (diff)
downloaduGFX-d3a0606c65535be34cb38e6cfb3ba8d92657ad82.tar.gz
uGFX-d3a0606c65535be34cb38e6cfb3ba8d92657ad82.tar.bz2
uGFX-d3a0606c65535be34cb38e6cfb3ba8d92657ad82.zip
Merge branch 'newmouse'
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);