diff options
Diffstat (limited to 'include/d/d_cs_base.h')
| -rw-r--r-- | include/d/d_cs_base.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/include/d/d_cs_base.h b/include/d/d_cs_base.h index 8c7972c8..0ac075b9 100644 --- a/include/d/d_cs_base.h +++ b/include/d/d_cs_base.h @@ -26,6 +26,9 @@ public: void setVisible(bool val) { mVisible = val; } + bool isVisible() const { + return mVisible; + } void setDrawDirectly(bool val) { mDrawDirectly = val; } @@ -36,7 +39,7 @@ public: mCalibrationPointCenterEnabled = val; } - dCursorHitCheck_c *getHitCheck() { + dCursorHitCheck_c *getHitCheck() const { return mCursorIf.getHit(); } @@ -52,10 +55,26 @@ public: mCursorStick.setShouldBeOn(visible); } + void setCursorStickPriority(u8 priority) { + mCursorStick.setPriority(priority); + } + + void setCursorStickPriority2(u8 priority) { + mCursorStick.setPriority2(priority); + } + + bool isCursorStickVisible() const { + return mCursorStick.getShouldBeOn(); + } + void setCursorStickTargetPane(const nw4r::lyt::Pane *target) { mCursorStick.setTargetPane(target); } + const nw4r::lyt::Pane *getCursorStickAllPane() const { + return mCursorStick.getAllPane(); + } + private: static dCsBase_c *sInstance; void setCurrentLyt(int lyt); |
