X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fgui%2Fmenubar.c;h=81576bd8967eb82ab154216e44e94ac1fcacf386;hb=39e200e1f43474a96888f97e2271728c9605ccbe;hp=f62a2feea4f2305f5f346d4e25b0ab4f217527d5;hpb=79592eaa40c94f72047d8db4a5435b84dd5ab3e5;p=bertos.git diff --git a/bertos/gui/menubar.c b/bertos/gui/menubar.c index f62a2fee..81576bd8 100644 --- a/bertos/gui/menubar.c +++ b/bertos/gui/menubar.c @@ -1,14 +1,40 @@ /** * \file + * * - * \version $Id$ + * \brief Graphics Menu bar widget * * \author Stefano Fedrigo * \author Francesco Sacchi * - * \brief Graphics Menu bar widget */ #include "menubar.h" @@ -18,6 +44,9 @@ #include #include +#warning FIXME:This module is obsolete, you must refactor it! + +#if 0 #if CPU_AVR #include /* strlen_P() */ #else @@ -43,11 +72,7 @@ static const pgm_char lab_10[] = " "DOWN_ARROW" "; static const pgm_char lab_11[] = " - "; static const pgm_char lab_12[] = " + "; static const pgm_char lab_13[] = "sel "; -#if OEM_BRAND == OEM_CLAIRBROS -static const pgm_char lab_14[] = "gain"; -#else static const pgm_char lab_14[] = "lock"; -#endif static const pgm_char lab_15[] = "unlock"; static const pgm_char lab_16[] = "more"; static const pgm_char lab_17[] = "edit"; @@ -148,3 +173,5 @@ void mbar_draw(const struct MenuBar *mb) text_style(mb->bitmap, oldstyle, STYLEF_MASK); } +#endif +