aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/container_nested/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/modules/gwin/container_nested/main.c')
-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);