Clean up and using correct configuration.
[bertos.git] / bertos / gui / leveledit.c
index 0bac895a28d57d0ce4975574167c3ce832cad083..27a46683860a67ef1229ca2f1078da87033d8059 100644 (file)
  *
  * \brief Generic editor for (volume/gain/contrast/...) setting.
  *
- * \version $Id$
  * \author Stefano Fedrigo <aleph@develer.com>
  */
 
 #include "leveledit.h"
 
-#include <cfg/cfg_gfx.h>
+#include "cfg/cfg_menu.h"
 #include <cfg/macros.h> /* MAX() */
 
 #include <drv/kbd.h>
@@ -46,7 +45,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!
 
 #define LBAR_HEIGHT 16
@@ -267,17 +261,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;