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/checkbox | |
| 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/checkbox')
| -rw-r--r-- | demos/modules/gwin/checkbox/main.c | 7 | 
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();  | 
