14 #ifndef _PieDock_WorkspaceLayout_
15 #define _PieDock_WorkspaceLayout_
36 enum PreferredVirtualLayout
44 inline const unsigned long &getScreenWidth()
const {
45 return screen.width; }
46 inline const unsigned long &getScreenHeight()
const {
47 return screen.height; }
48 inline const unsigned long &getTotalWidth()
const {
50 inline const unsigned long &getTotalHeight()
const {
51 return total.height; }
52 inline const int &getColumns()
const {
54 inline const int &getRows()
const {
56 inline const bool &isVirtual()
const {
57 return virtualDesktop; }
59 PreferredVirtualLayout = Horizontal );
62 WorkspacePosition & );
71 static WorkspaceLayout *singleton;
73 PreferredVirtualLayout preferredLayout;
80 WorkspaceLayout( Display *, PreferredVirtualLayout );
81 WorkspaceLayout &operator=(
const WorkspaceLayout & ) {