Clean unused variables
This commit is contained in:
parent
60e97b968b
commit
63f9a1637f
7 changed files with 1 additions and 10 deletions
|
@ -58,14 +58,13 @@ public:
|
||||||
void unregisterEventHandler(Window win);
|
void unregisterEventHandler(Window win);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
EventManager(): m_grabbing_keyboard(0) { }
|
EventManager() { }
|
||||||
~EventManager();
|
~EventManager();
|
||||||
void dispatch(Window win, XEvent &event, bool parent = false);
|
void dispatch(Window win, XEvent &event, bool parent = false);
|
||||||
|
|
||||||
typedef std::map<Window, EventHandler *> EventHandlerMap;
|
typedef std::map<Window, EventHandler *> EventHandlerMap;
|
||||||
EventHandlerMap m_eventhandlers;
|
EventHandlerMap m_eventhandlers;
|
||||||
EventHandlerMap m_parent;
|
EventHandlerMap m_parent;
|
||||||
EventHandler *m_grabbing_keyboard;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} //end namespace FbTk
|
} //end namespace FbTk
|
||||||
|
|
|
@ -115,7 +115,6 @@ private:
|
||||||
FbTk::FontImp* m_fontimp; ///< font implementation
|
FbTk::FontImp* m_fontimp; ///< font implementation
|
||||||
std::string m_fontstr; ///< font name
|
std::string m_fontstr; ///< font name
|
||||||
|
|
||||||
int m_angle; ///< rotation angle
|
|
||||||
bool m_shadow; ///< shadow text
|
bool m_shadow; ///< shadow text
|
||||||
Color m_shadow_color; ///< shadow color
|
Color m_shadow_color; ///< shadow color
|
||||||
int m_shadow_offx; ///< offset y for shadow
|
int m_shadow_offx; ///< offset y for shadow
|
||||||
|
|
|
@ -82,7 +82,6 @@ private:
|
||||||
Pixmap searchCache(unsigned int width, unsigned int height, const Texture &text, Orientation orient) const;
|
Pixmap searchCache(unsigned int width, unsigned int height, const Texture &text, Orientation orient) const;
|
||||||
|
|
||||||
void createColorTable();
|
void createColorTable();
|
||||||
bool m_dither;
|
|
||||||
Timer m_timer;
|
Timer m_timer;
|
||||||
|
|
||||||
Colormap m_colormap;
|
Colormap m_colormap;
|
||||||
|
|
|
@ -235,8 +235,6 @@ private:
|
||||||
|
|
||||||
int m_x_move;
|
int m_x_move;
|
||||||
int m_y_move;
|
int m_y_move;
|
||||||
int m_grab_x;
|
|
||||||
int m_grab_y;
|
|
||||||
|
|
||||||
// the menuitems are rendered in a grid with
|
// the menuitems are rendered in a grid with
|
||||||
// 'm_columns' (a minimum of 'm_min_columns') and
|
// 'm_columns' (a minimum of 'm_min_columns') and
|
||||||
|
@ -252,7 +250,6 @@ private:
|
||||||
// the corners
|
// the corners
|
||||||
std::auto_ptr<FbTk::Shape> m_shape;
|
std::auto_ptr<FbTk::Shape> m_shape;
|
||||||
|
|
||||||
Drawable m_root_pm;
|
|
||||||
static Menu *shown; ///< used for determining if there's a menu open at all
|
static Menu *shown; ///< used for determining if there's a menu open at all
|
||||||
static Menu *s_focused; ///< holds current input focused menu, so one can determine if a menu is focused
|
static Menu *s_focused; ///< holds current input focused menu, so one can determine if a menu is focused
|
||||||
bool m_need_update;
|
bool m_need_update;
|
||||||
|
|
|
@ -152,7 +152,6 @@ RootTheme::RootTheme(FbTk::ImageControl &image_control):
|
||||||
FbTk::Theme(image_control.screenNumber()),
|
FbTk::Theme(image_control.screenNumber()),
|
||||||
m_background(new BackgroundItem(*this, "background", "Background")),
|
m_background(new BackgroundItem(*this, "background", "Background")),
|
||||||
m_opgc(RootWindow(FbTk::App::instance()->display(), image_control.screenNumber())),
|
m_opgc(RootWindow(FbTk::App::instance()->display(), image_control.screenNumber())),
|
||||||
m_image_ctrl(image_control),
|
|
||||||
m_first(true) {
|
m_first(true) {
|
||||||
|
|
||||||
Display *disp = FbTk::App::instance()->display();
|
Display *disp = FbTk::App::instance()->display();
|
||||||
|
|
|
@ -56,7 +56,6 @@ public:
|
||||||
private:
|
private:
|
||||||
BackgroundItem *m_background;///< background image/texture
|
BackgroundItem *m_background;///< background image/texture
|
||||||
FbTk::GContext m_opgc;
|
FbTk::GContext m_opgc;
|
||||||
FbTk::ImageControl &m_image_ctrl; ///< image control for rendering background texture
|
|
||||||
bool m_first;
|
bool m_first;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,6 @@ class FbRun: public FbTk::TextBox {
|
||||||
public:
|
public:
|
||||||
FbRun(int x = 0, int y = 0, size_t width = 200);
|
FbRun(int x = 0, int y = 0, size_t width = 200);
|
||||||
~FbRun();
|
~FbRun();
|
||||||
void handleEvent(XEvent * const ev);
|
|
||||||
void setTitle(const std::string &title);
|
void setTitle(const std::string &title);
|
||||||
void resize(unsigned int width, unsigned int height);
|
void resize(unsigned int width, unsigned int height);
|
||||||
void setPrint(bool print) { m_print = print; }
|
void setPrint(bool print) { m_print = print; }
|
||||||
|
|
Loading…
Reference in a new issue