diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-09-26 16:30:53 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-09-26 16:30:53 +1000 |
commit | e7bc175ca0fb1b1d2bd6a80d36696efa6dc0d171 (patch) | |
tree | c140dc3c6e9c3030334e17fef8a2b8af1ba5f07b /demos/modules/gwin/frame/main.c | |
parent | 72d04f891b5dd09ec4abdc8073a285b5d513946d (diff) | |
download | uGFX-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.c | 7 |
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); |