00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef FBMENU_HH
00025 #define FBMENU_HH
00026
00027 #include "Menu.hh"
00028 #include "XLayerItem.hh"
00029 #include <memory>
00030
00031 class MenuTheme;
00032 class Shape;
00034 class FbMenu:public FbTk::Menu {
00035 public:
00036 FbMenu(MenuTheme &tm, FbTk::ImageControl &imgctrl,
00037 FbTk::XLayer &layer);
00038 ~FbMenu();
00039 void clearWindow();
00040 void raise() { m_layeritem.raise(); }
00041 void lower() { m_layeritem.lower(); }
00042 void reconfigure();
00043 private:
00044 FbTk::XLayerItem m_layeritem;
00045 std::auto_ptr<Shape> m_shape;
00046 };
00047
00048 #endif // FBMENU_HH
00049