void Redraw();
+void RenderActive();
+
void SetActive( bool b ){
m_bActive = b;
+ RenderActive();
};
bool Active(){
return m_bActive;
};
+struct camera_icon_t
+{
+ float x, y, fov, box;
+ double a;
+};
+camera_icon_t Cam;
+void UpdateCameraIcon();
+
void Clipper_OnLButtonDown( int x, int y );
void Clipper_OnLButtonUp( int x, int y );
void Clipper_Crosshair_OnMouseMoved( int x, int y );
void DropClipPoint( int pointx, int pointy );
+void SetCustomPivotOrigin( int pointx, int pointy );
+
void SetViewType( VIEWTYPE n );
bool m_bActive;
public:
void ButtonState_onMouseDown( unsigned int buttons ){
- m_buttonstate |= buttons;
+ //m_buttonstate |= buttons;
+ m_buttonstate = buttons;
}
void ButtonState_onMouseUp( unsigned int buttons ){
- m_buttonstate &= ~buttons;
+ //m_buttonstate &= ~buttons;
+ m_buttonstate = 0;
}
unsigned int getButtonState() const {
return m_buttonstate;
Vector3 AxisColorY;
Vector3 AxisColorZ;
- bool m_bRightClick;
+// bool m_bRightClick;
bool m_bNoStipple;
bool m_bImprovedWheelZoom;
AxisColorX( 1.f, 0.f, 0.f ),
AxisColorY( 0.f, 1.f, 0.f ),
AxisColorZ( 0.f, 0.f, 1.f ),
- m_bRightClick( true ),
- m_bNoStipple( false ),
+// m_bRightClick( true ),
+ m_bNoStipple( true ),
m_bImprovedWheelZoom( true ){
}