Remove unused header

This commit is contained in:
Christian Semmler 2024-06-01 10:01:12 -04:00
parent 9b65e65ee0
commit 42ec7511a0
3 changed files with 6 additions and 18 deletions

View File

@ -13,10 +13,10 @@ class LegoROI;
class LegoEventNotificationParam : public MxNotificationParam {
public:
enum {
c_lButtonState = 0x01,
c_rButtonState = 0x02,
c_modKey1 = 0x04,
c_modKey2 = 0x08,
c_lButtonState = 1,
c_rButtonState = 2,
c_modKey1 = 4,
c_modKey2 = 8,
};
// FUNCTION: LEGO1 0x10028690

View File

@ -1,11 +0,0 @@
#ifndef LEGONOTIFY_H
#define LEGONOTIFY_H
enum LegoEventNotificationParamType {
c_lButtonState = 1,
c_rButtonState = 2,
c_modKey1 = 4,
c_modKey2 = 8,
};
#endif // LEGONOTIFY_H

View File

@ -2,7 +2,6 @@
#include "3dmanager/lego3dmanager.h"
#include "legoinputmanager.h"
#include "legonotify.h"
#include "legosoundmanager.h"
#include "legovideomanager.h"
#include "misc.h"
@ -109,10 +108,10 @@ void LegoCameraController::OnRButtonUp(MxPoint32 p_point)
// FUNCTION: LEGO1 0x10012230
void LegoCameraController::OnMouseMove(MxU8 p_modifier, MxPoint32 p_point)
{
if (p_modifier & c_lButtonState) {
if (p_modifier & LegoEventNotificationParam::c_lButtonState) {
LeftDrag(p_point.GetX(), p_point.GetY());
}
else if (p_modifier & c_rButtonState) {
else if (p_modifier & LegoEventNotificationParam::c_rButtonState) {
RightDrag(p_point.GetX(), p_point.GetY());
}
}