equal
deleted
inserted
replaced
19 |
19 |
20 #ifndef GLXFULLSCREENSTATE_H |
20 #ifndef GLXFULLSCREENSTATE_H |
21 #define GLXFULLSCREENSTATE_H |
21 #define GLXFULLSCREENSTATE_H |
22 |
22 |
23 #include <glxbasestate.h> |
23 #include <glxbasestate.h> |
|
24 class GlxStateManager; |
24 |
25 |
25 class GlxFullScreenState : public GlxState |
26 class GlxFullScreenState : public GlxState |
26 { |
27 { |
27 public : |
28 public : |
28 GlxFullScreenState(GlxState *preState = NULL); |
29 GlxFullScreenState( GlxStateManager *stateManager, GlxState *preState = NULL ); |
29 int state() const { return (int) mState; } |
30 int state() const { return (int) mState; } |
30 /* |
31 /* |
31 * This Function set the internal state of full screen state |
32 * This Function set the internal state of full screen state |
32 */ |
33 */ |
33 void setState(int internalState) { mState = (FullScreenState) internalState; } |
34 void setState(int internalState) { mState = (FullScreenState) internalState; } |
47 |
48 |
48 private: |
49 private: |
49 |
50 |
50 private: |
51 private: |
51 FullScreenState mState; |
52 FullScreenState mState; |
|
53 GlxStateManager *mStateManager; |
52 |
54 |
53 }; |
55 }; |
54 |
56 |
55 |
57 |
56 #endif /* GLXFULLSCREENSTATE_H_ */ |
58 #endif /* GLXFULLSCREENSTATE_H_ */ |