indentation
This commit is contained in:
parent
6135f4eff3
commit
bdb0d00f2f
1 changed files with 41 additions and 47 deletions
|
@ -22,6 +22,8 @@
|
||||||
#ifndef WORKSPACE_HH
|
#ifndef WORKSPACE_HH
|
||||||
#define WORKSPACE_HH
|
#define WORKSPACE_HH
|
||||||
|
|
||||||
|
#include "Window.hh"
|
||||||
|
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -30,7 +32,7 @@
|
||||||
class BScreen;
|
class BScreen;
|
||||||
class Clientmenu;
|
class Clientmenu;
|
||||||
class Workspace;
|
class Workspace;
|
||||||
class FluxboxWindow;
|
|
||||||
|
|
||||||
|
|
||||||
class Workspace {
|
class Workspace {
|
||||||
|
@ -41,23 +43,15 @@ public:
|
||||||
~Workspace(void);
|
~Workspace(void);
|
||||||
|
|
||||||
inline BScreen *getScreen(void) { return screen; }
|
inline BScreen *getScreen(void) { return screen; }
|
||||||
|
|
||||||
inline FluxboxWindow *getLastFocusedWindow(void) { return lastfocus; }
|
inline FluxboxWindow *getLastFocusedWindow(void) { return lastfocus; }
|
||||||
|
|
||||||
inline Clientmenu *getMenu(void) { return clientmenu; }
|
inline Clientmenu *getMenu(void) { return clientmenu; }
|
||||||
|
|
||||||
inline const char *getName(void) const { return name.c_str(); }
|
inline const char *getName(void) const { return name.c_str(); }
|
||||||
|
|
||||||
inline const int &getWorkspaceID(void) const { return id; }
|
inline const int &getWorkspaceID(void) const { return id; }
|
||||||
|
|
||||||
inline void setLastFocusedWindow(FluxboxWindow *w) { lastfocus = w; }
|
inline void setLastFocusedWindow(FluxboxWindow *w) { lastfocus = w; }
|
||||||
|
|
||||||
FluxboxWindow *getWindow(int);
|
FluxboxWindow *getWindow(int);
|
||||||
inline Windows &getWindowList() { return windowList; }
|
inline Windows &getWindowList() { return windowList; }
|
||||||
|
|
||||||
bool isCurrent(void);
|
bool isCurrent(void);
|
||||||
bool isLastWindow(FluxboxWindow *);
|
bool isLastWindow(FluxboxWindow *);
|
||||||
|
|
||||||
const int addWindow(FluxboxWindow *, Bool = False);
|
const int addWindow(FluxboxWindow *, Bool = False);
|
||||||
const int removeWindow(FluxboxWindow *);
|
const int removeWindow(FluxboxWindow *);
|
||||||
const int getCount(void);
|
const int getCount(void);
|
||||||
|
|
Loading…
Reference in a new issue