aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/frame/main.c
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/frame/main.c
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/frame/main.c')
-rw-r--r--demos/modules/gwin/frame/main.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/demos/modules/gwin/frame/main.c b/demos/modules/gwin/frame/main.c
index fe956925..a97525ab 100644
--- a/demos/modules/gwin/frame/main.c
+++ b/demos/modules/gwin/frame/main.c
@@ -33,7 +33,7 @@ static void _createWidgets(void) {
wi.text = "Surprise!";
gwinLabelCreate(0, &wi);
- // Apply the frame parameters
+ // Apply the frame parameters
wi.g.width = 300;
wi.g.height = 200;
wi.g.y = 10;
@@ -107,7 +107,7 @@ static void _createWidgets(void) {
wi.g.x = 10;
wi.g.y = 90;
ghWindow1 = gwinWindowCreate(0, &wi.g);
-
+
_updateColor();
}
@@ -117,9 +117,6 @@ int main(void) {
// Initialize the display
gfxInit();
- // Attach the mouse input
- gwinAttachMouse(0);
-
// Set the widget defaults
gwinSetDefaultFont(gdispOpenFont("*"));
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);