Implement LegoCameraController::Notify & TimeROI::FUN_100a9b40 (#707)

* Implement LegoCameraController::Notify & TimeROI::FUN_100a9b40

* Fixes/matches

* Style

* Fix

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Misha
2024-03-21 10:39:23 -04:00
committed by GitHub
parent 770da22a1d
commit 9256554406
4 changed files with 77 additions and 6 deletions

View File

@@ -11,6 +11,13 @@
// SIZE 0x20
class LegoEventNotificationParam : public MxNotificationParam {
public:
enum {
c_lButtonState = 0x01,
c_rButtonState = 0x02,
c_modKey1 = 0x04,
c_modKey2 = 0x08,
};
// FUNCTION: LEGO1 0x10028690
MxNotificationParam* Clone() override
{
@@ -35,7 +42,11 @@ public:
inline MxU8 GetModifier() { return m_modifier; }
inline MxU8 GetKey() const { return m_key; }
// FUNCTION: LEGO1 0x10012190
inline MxS32 GetX() const { return m_x; }
// FUNCTION: LEGO1 0x100121a0
inline MxS32 GetY() const { return m_y; }
inline void SetROI(LegoROI* p_roi) { m_roi = p_roi; }