When there is only one toolchain for the specified architecture the wizard selects...
[bertos.git] / bertos / gui / leveledit.c
index 7f74cad76a631710055c7d1018dcc103d1bc84ed..63c90d21ff931b5c3412f81191d9e64b2f43d338 100644 (file)
@@ -38,7 +38,7 @@
 
 #include "leveledit.h"
 
-#include <appconfig.h>
+#include "cfg/cfg_gfx.h"
 #include <cfg/macros.h> /* MAX() */
 
 #include <drv/kbd.h>
@@ -46,7 +46,7 @@
 
 #include <gui/levelbar.h>
 
-#include <mware/pgm.h>
+#include <cpu/pgm.h>
 
 #include <gfx/text.h>
 #include <gfx/font.h>
 #include <gui/menubar.h>
 #endif
 
-// BEGIN project_grl LOCAL
 #include <drv/lcd_gfx.h>
-#include <gui/guiman.h>
-// END project_grl LOCAL
 
 #warning FIXME: Revise me!
 
@@ -267,17 +264,8 @@ void level_edit(struct LevelEdit *lev)
                                        }
                                #endif
 
-// BEGIN project_grl LOCAL
-#if 1
-                               //FIXME: must to this only when needed
-                               lcd_blitBitmap(&lcd_bitmap);
-                       }
-                       while (!(keys = GuiMan_KbdPeek()));
-#else
                        }
                        while (!(keys = kbd_peek()));
-#endif
-// END project_grl LOCAL
 
                        if (keys & K_CANCEL)
                                break;