Clean unused variables

This commit is contained in:
Mathias Gumz 2015-01-03 21:42:24 +01:00
parent 60e97b968b
commit 63f9a1637f
7 changed files with 1 additions and 10 deletions

View file

@ -58,14 +58,13 @@ public:
void unregisterEventHandler(Window win);
private:
EventManager(): m_grabbing_keyboard(0) { }
EventManager() { }
~EventManager();
void dispatch(Window win, XEvent &event, bool parent = false);
typedef std::map<Window, EventHandler *> EventHandlerMap;
EventHandlerMap m_eventhandlers;
EventHandlerMap m_parent;
EventHandler *m_grabbing_keyboard;
};
} //end namespace FbTk

View file

@ -115,7 +115,6 @@ private:
FbTk::FontImp* m_fontimp; ///< font implementation
std::string m_fontstr; ///< font name
int m_angle; ///< rotation angle
bool m_shadow; ///< shadow text
Color m_shadow_color; ///< shadow color
int m_shadow_offx; ///< offset y for shadow

View file

@ -82,7 +82,6 @@ private:
Pixmap searchCache(unsigned int width, unsigned int height, const Texture &text, Orientation orient) const;
void createColorTable();
bool m_dither;
Timer m_timer;
Colormap m_colormap;

View file

@ -235,8 +235,6 @@ private:
int m_x_move;
int m_y_move;
int m_grab_x;
int m_grab_y;
// the menuitems are rendered in a grid with
// 'm_columns' (a minimum of 'm_min_columns') and
@ -252,7 +250,6 @@ private:
// the corners
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 *s_focused; ///< holds current input focused menu, so one can determine if a menu is focused
bool m_need_update;

View file

@ -152,7 +152,6 @@ RootTheme::RootTheme(FbTk::ImageControl &image_control):
FbTk::Theme(image_control.screenNumber()),
m_background(new BackgroundItem(*this, "background", "Background")),
m_opgc(RootWindow(FbTk::App::instance()->display(), image_control.screenNumber())),
m_image_ctrl(image_control),
m_first(true) {
Display *disp = FbTk::App::instance()->display();

View file

@ -56,7 +56,6 @@ public:
private:
BackgroundItem *m_background;///< background image/texture
FbTk::GContext m_opgc;
FbTk::ImageControl &m_image_ctrl; ///< image control for rendering background texture
bool m_first;
};

View file

@ -39,7 +39,6 @@ class FbRun: public FbTk::TextBox {
public:
FbRun(int x = 0, int y = 0, size_t width = 200);
~FbRun();
void handleEvent(XEvent * const ev);
void setTitle(const std::string &title);
void resize(unsigned int width, unsigned int height);
void setPrint(bool print) { m_print = print; }