X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FScreen.hh;h=3ce57db3db03cfcea9e1f8ed619a907cdf575b9d;hb=ed27f24191f4d9651db9add2c0c7bac15d62ed27;hp=0fabe9a461fa688da37acce94edb71e52d2ea53b;hpb=08d793bb796f608774d6fdefd1950df54477e2c6;p=chaz%2Fopenbox diff --git a/src/Screen.hh b/src/Screen.hh index 0fabe9a4..3ce57db3 100644 --- a/src/Screen.hh +++ b/src/Screen.hh @@ -71,8 +71,8 @@ struct WindowStyle { TextJustify justify; - int doJustify(const std::string &text, int &start_pos, - unsigned int max_length, unsigned int modifier) const; + void doJustify(const std::string &text, int &start_pos, + unsigned int max_length, unsigned int modifier) const; }; struct ToolbarStyle { @@ -83,8 +83,8 @@ struct ToolbarStyle { TextJustify justify; - int doJustify(const std::string &text, int &start_pos, - unsigned int max_length, unsigned int modifier) const; + void doJustify(const std::string &text, int &start_pos, + unsigned int max_length, unsigned int modifier) const; }; struct MenuStyle { @@ -331,14 +331,13 @@ public: void save_rc(void); void reconfigure(void); void toggleFocusModel(FocusModel model); - void updateFocusModel(void); void rereadMenu(void); void shutdown(void); void showPosition(int x, int y); void showGeometry(unsigned int gx, unsigned int gy); void hideGeometry(void); - void buttonPressEvent(XButtonEvent *xbutton); + void buttonPressEvent(const XButtonEvent *xbutton); void updateNetizenCurrentWorkspace(void); void updateNetizenWorkspaceCount(void);