mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 00:31:16 +00:00
Remove unused header
This commit is contained in:
parent
9b65e65ee0
commit
42ec7511a0
@ -13,10 +13,10 @@ class LegoROI;
|
|||||||
class LegoEventNotificationParam : public MxNotificationParam {
|
class LegoEventNotificationParam : public MxNotificationParam {
|
||||||
public:
|
public:
|
||||||
enum {
|
enum {
|
||||||
c_lButtonState = 0x01,
|
c_lButtonState = 1,
|
||||||
c_rButtonState = 0x02,
|
c_rButtonState = 2,
|
||||||
c_modKey1 = 0x04,
|
c_modKey1 = 4,
|
||||||
c_modKey2 = 0x08,
|
c_modKey2 = 8,
|
||||||
};
|
};
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10028690
|
// FUNCTION: LEGO1 0x10028690
|
||||||
|
|||||||
@ -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
|
|
||||||
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
#include "3dmanager/lego3dmanager.h"
|
#include "3dmanager/lego3dmanager.h"
|
||||||
#include "legoinputmanager.h"
|
#include "legoinputmanager.h"
|
||||||
#include "legonotify.h"
|
|
||||||
#include "legosoundmanager.h"
|
#include "legosoundmanager.h"
|
||||||
#include "legovideomanager.h"
|
#include "legovideomanager.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
@ -109,10 +108,10 @@ void LegoCameraController::OnRButtonUp(MxPoint32 p_point)
|
|||||||
// FUNCTION: LEGO1 0x10012230
|
// FUNCTION: LEGO1 0x10012230
|
||||||
void LegoCameraController::OnMouseMove(MxU8 p_modifier, MxPoint32 p_point)
|
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());
|
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());
|
RightDrag(p_point.GetX(), p_point.GetY());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user