aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/checkbox
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/checkbox
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/checkbox')
-rw-r--r--demos/modules/gwin/checkbox/main.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/demos/modules/gwin/checkbox/main.c b/demos/modules/gwin/checkbox/main.c
index 28122bee..22963e40 100644
--- a/demos/modules/gwin/checkbox/main.c
+++ b/demos/modules/gwin/checkbox/main.c
@@ -39,14 +39,14 @@ static void createWidgets(void) {
gwinWidgetClearInit(&wi);
wi.g.show = TRUE;
- // Apply the checkbox parameters
+ // Apply the checkbox parameters
wi.g.width = 100; // includes text
wi.g.height = 20;
wi.g.y = 10;
wi.g.x = 10;
wi.text = "Checkbox";
- // Create the actual checkbox
+ // Create the actual checkbox
ghCheckbox1 = gwinCheckboxCreate(0, &wi);
}
@@ -61,9 +61,6 @@ int main(void) {
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);
gdispClear(White);
- // Attach the mouse input
- gwinAttachMouse(0);
-
// create the widget
createWidgets();