forked from KolibriOS/kolibrios
revert comment
git-svn-id: svn://kolibrios.org@6397 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
780e03d785
commit
df309d092e
@ -21,7 +21,7 @@ int main()
|
||||
kolibri_window_add_element(main_window, KOLIBRI_CHECK_BOX, checkbox);
|
||||
kolibri_window_add_element(main_window, KOLIBRI_BUTTON, button);
|
||||
|
||||
volatile unsigned press_key;
|
||||
extern volatile unsigned press_key;
|
||||
|
||||
do /* Start of main activity loop */
|
||||
{
|
||||
@ -31,7 +31,6 @@ int main()
|
||||
}
|
||||
else if(gui_event == KOLIBRI_EVENT_KEY)
|
||||
{
|
||||
/* siemargl commented out because keys stealed from textinput
|
||||
key = get_key();
|
||||
switch (key.code)
|
||||
{
|
||||
@ -44,7 +43,7 @@ int main()
|
||||
break;
|
||||
}
|
||||
press_key = key.val;
|
||||
*/
|
||||
|
||||
kolibri_handle_event_key(main_window);
|
||||
}
|
||||
else if(gui_event == KOLIBRI_EVENT_BUTTON)
|
||||
|
Loading…
Reference in New Issue
Block a user