Demos updated to remove now deprecated function gwinAttachMouse

This commit is contained in:
inmarket 2014-09-26 16:30:53 +10:00
parent 72d04f891b
commit e7bc175ca0
10 changed files with 10 additions and 42 deletions

View file

@ -67,9 +67,6 @@ int main(void) {
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);
gdispClear(White); gdispClear(White);
// Attach the mouse input
gwinAttachMouse(0);
// create the widget // create the widget
createWidgets(); createWidgets();

View file

@ -61,9 +61,6 @@ int main(void) {
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);
gdispClear(White); gdispClear(White);
// Attach the mouse input
gwinAttachMouse(0);
// create the widget // create the widget
createWidgets(); createWidgets();

View file

@ -37,9 +37,6 @@ int main(void) {
// Initialize the display // Initialize the display
gfxInit(); gfxInit();
// Attach the mouse input
gwinAttachMouse(0);
// Set the widget defaults // Set the widget defaults
gwinSetDefaultFont(gdispOpenFont("*")); gwinSetDefaultFont(gdispOpenFont("*"));
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);

View file

@ -115,9 +115,6 @@ int main(void) {
// Initialize the display // Initialize the display
gfxInit(); gfxInit();
// Attach the mouse input
gwinAttachMouse(0);
// Set the widget defaults // Set the widget defaults
gwinSetDefaultFont(gdispOpenFont("*")); gwinSetDefaultFont(gdispOpenFont("*"));
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);

View file

@ -117,9 +117,6 @@ int main(void) {
// Initialize the display // Initialize the display
gfxInit(); gfxInit();
// Attach the mouse input
gwinAttachMouse(0);
// Set the widget defaults // Set the widget defaults
gwinSetDefaultFont(gdispOpenFont("*")); gwinSetDefaultFont(gdispOpenFont("*"));
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);

View file

@ -63,9 +63,6 @@ int main(void) {
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);
gdispClear(White); gdispClear(White);
// Attach the mouse input
gwinAttachMouse(0);
// create the widget // create the widget
createWidgets(); createWidgets();

View file

@ -79,9 +79,6 @@ int main(void) {
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);
gdispClear(White); gdispClear(White);
// Attach the mouse input
gwinAttachMouse(0);
// create the widget // create the widget
createWidgets(); createWidgets();

View file

@ -83,9 +83,6 @@ int main(void) {
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);
gdispClear(White); gdispClear(White);
// Attach the mouse input
gwinAttachMouse(0);
// create the widget // create the widget
createWidgets(); createWidgets();

View file

@ -59,9 +59,6 @@ int main(void) {
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);
gdispClear(White); gdispClear(White);
// Attach the mouse input
gwinAttachMouse(0);
// create the widget // create the widget
createWidgets(); createWidgets();

View file

@ -418,11 +418,6 @@ int main(void) {
// Initialize the display // Initialize the display
gfxInit(); gfxInit();
// Connect the mouse
#if GINPUT_NEED_MOUSE
gwinAttachMouse(0);
#endif
// Set the widget defaults // Set the widget defaults
font = gdispOpenFont("*"); // Get the first defined font. font = gdispOpenFont("*"); // Get the first defined font.
gwinSetDefaultFont(font); gwinSetDefaultFont(font);