all repos — fluxbox @ dbd3dfac7eb1de576aa66e25a8c765588c29b493

custom fork of the fluxbox windowmanager

Moved typedefs into class IconBar
fluxgen fluxgen
commit

dbd3dfac7eb1de576aa66e25a8c765588c29b493

parent

31181406d0962b99ceff590adb4065e0e511f63b

1 files changed, 3 insertions(+), 5 deletions(-)

jump to
M src/IconBar.hhsrc/IconBar.hh

@@ -25,8 +25,6 @@ #include <vector>

#include "Window.hh" #include "LinkedList.hh" -class Fluxbox; - class IconBarObj { public:

@@ -39,9 +37,6 @@ Window m_iconwin;

FluxboxWindow *m_fluxboxwin; }; -typedef LinkedList<IconBarObj> IconList; -typedef LinkedListIterator<IconBarObj> IconListIterator; - class IconBar { public:

@@ -55,6 +50,9 @@ void buttonPressEvent(XButtonEvent *be);

FluxboxWindow *findWindow(Window w); void exposeEvent(XExposeEvent *ee); private: + typedef LinkedList<IconBarObj> IconList; + typedef LinkedListIterator<IconBarObj> IconListIterator; + void draw(IconBarObj *obj, int width); void loadTheme(unsigned int width, unsigned int height); void decorate(Window win);