- LinkedList<Rootmenu> *rootmenuList;
- LinkedList<Netizen> *netizenList;
- LinkedList<OpenboxWindow> *iconList;
+ typedef std::list<Rootmenu *> menuList;
+ menuList rootmenuList;
+ typedef std::list<Netizen *> netList;
+ netList netizenList;
+ typedef std::list<OpenboxWindow *> winList;
+ winList iconList; // winList is declared in Workspace.h
unsigned int geom_w, geom_h;
unsigned long event_mask;
unsigned int geom_w, geom_h;
unsigned long event_mask;
- LinkedList<char> *workspaceNames;
- LinkedList<Workspace> *workspacesList;
+ typedef std::vector<std::string> wkspNameList;
+ wkspNameList workspaceNames;
+ typedef std::vector<Workspace *> wkspList;
+ wkspList workspacesList;
- bool sloppy_focus, auto_raise, auto_edge_balance, image_dither, focus_last,
+ bool sloppy_focus, auto_raise, auto_edge_balance, focus_last,
ordered_dither, opaque_move, hide_toolbar, full_max, focus_new;
BColor border_color;
Resource styleconfig;
ordered_dither, opaque_move, hide_toolbar, full_max, focus_new;
BColor border_color;
Resource styleconfig;
inline Workspace *getCurrentWorkspace() { return current_workspace; }
inline Workspacemenu *getWorkspacemenu() { return workspacemenu; }
inline Workspace *getCurrentWorkspace() { return current_workspace; }
inline Workspacemenu *getWorkspacemenu() { return workspacemenu; }
- inline const int getWorkspaceCount() { return workspacesList->count(); }
- inline const int getIconCount() { return iconList->count(); }
+ inline const int getWorkspaceCount() { return workspacesList.size(); }
+ inline const int getIconCount() { return iconList.size(); }
void setImageDither(bool d, bool reconfig = true);
inline bool orderedDither() const { return resource.ordered_dither; }
void setImageDither(bool d, bool reconfig = true);
inline bool orderedDither() const { return resource.ordered_dither; }
void removeNetizen(Window);
void addIcon(OpenboxWindow *);
void removeIcon(OpenboxWindow *);
void removeNetizen(Window);
void addIcon(OpenboxWindow *);
void removeIcon(OpenboxWindow *);
void changeWorkspaceID(int);
void raiseWindows(Window *, int);
void reassociateWindow(OpenboxWindow *, int, Bool);
void changeWorkspaceID(int);
void raiseWindows(Window *, int);
void reassociateWindow(OpenboxWindow *, int, Bool);