Go to the source code of this file.
Classes | |
class | C4MouseControl |
Variables | |
const int32_t | C4MC_Button_None = 0 |
const int32_t | C4MC_Button_LeftDown = 1 |
const int32_t | C4MC_Button_LeftUp = 2 |
const int32_t | C4MC_Button_RightDown = 3 |
const int32_t | C4MC_Button_RightUp = 4 |
const int32_t | C4MC_Button_LeftDouble = 5 |
const int32_t | C4MC_Button_RightDouble = 6 |
const int32_t | C4MC_Button_Wheel = 7 |
const int32_t | C4MC_Button_MiddleDown = 8 |
const int32_t | C4MC_Button_MiddleUp = 9 |
const int32_t | C4MC_Button_MiddleDouble = 10 |
const int32_t | C4MC_Button_X1Down = 11 |
const int32_t | C4MC_Button_X1Up = 12 |
const int32_t | C4MC_Button_X1Double = 13 |
const int32_t | C4MC_Button_X2Down = 14 |
const int32_t | C4MC_Button_X2Up = 15 |
const int32_t | C4MC_Button_X2Double = 16 |
const int32_t | C4MC_DragSensitivity = 5 |
const int32_t | C4MC_MD_DragSource = 1 |
const int32_t | C4MC_MD_DropTarget = 2 |
const int32_t | C4MC_MD_NoClick = 4 |
const int32_t | C4MC_Cursor_Select = 0 |
const int32_t | C4MC_Cursor_Crosshair = 1 |
const int32_t | C4MC_Cursor_DragDrop = 2 |
const int32_t | C4MC_Cursor_Up = 3 |
const int32_t | C4MC_Cursor_Down = 4 |
const int32_t | C4MC_Cursor_Left = 5 |
const int32_t | C4MC_Cursor_Right = 6 |
const int32_t | C4MC_Cursor_UpLeft = 7 |
const int32_t | C4MC_Cursor_UpRight = 8 |
const int32_t | C4MC_Cursor_DownLeft = 9 |
const int32_t | C4MC_Cursor_DownRight = 10 |
const int32_t | C4MC_Cursor_Passive = 11 |
const int32_t | C4MC_Cursor_DropInto = 12 |
C4MouseControl | MouseControl |
const int32_t C4MC_Button_LeftDouble = 5 |
Definition at line 33 of file C4MouseControl.h.
Referenced by C4KeyCodeEx::FromC4MC(), C4GUI::Edit::MouseInput(), C4GUI::ListBox::MouseInput(), C4MouseControl::Move(), and C4ScriptGuiWindow::ProcessMouseInput().
const int32_t C4MC_Button_LeftDown = 1 |
Definition at line 29 of file C4MouseControl.h.
Referenced by C4KeyCodeEx::FromC4MC(), C4GUI::CMouse::Input(), C4MenuItem::MouseInput(), C4GUI::Element::MouseInput(), C4GUI::Label::MouseInput(), C4GUI::Control::MouseInput(), C4GUI::Button::MouseInput(), C4GUI::Edit::MouseInput(), C4GUI::CheckBox::MouseInput(), C4GUI::ListBox::MouseInput(), C4GUI::Tabular::MouseInput(), C4GUI::ContextMenu::MouseInput(), C4GUI::ContextButton::MouseInput(), C4GUI::ComboBox::MouseInput(), C4GUI::Screen::MouseInput(), C4MouseControl::Move(), and C4ScriptGuiWindow::ProcessMouseInput().
const int32_t C4MC_Button_LeftUp = 2 |
Definition at line 30 of file C4MouseControl.h.
Referenced by C4KeyCodeEx::FromC4MC(), C4GUI::CMouse::Input(), C4MenuItem::MouseInput(), C4GUI::Button::MouseInput(), C4GUI::Edit::MouseInput(), C4GUI::Tabular::MouseInput(), C4MouseControl::Move(), and C4ScriptGuiWindow::ProcessMouseInput().
const int32_t C4MC_Button_MiddleDouble = 10 |
Definition at line 38 of file C4MouseControl.h.
Referenced by C4KeyCodeEx::FromC4MC().
const int32_t C4MC_Button_MiddleDown = 8 |
Definition at line 36 of file C4MouseControl.h.
Referenced by C4KeyCodeEx::FromC4MC(), and C4GUI::Edit::MouseInput().
const int32_t C4MC_Button_MiddleUp = 9 |
Definition at line 37 of file C4MouseControl.h.
Referenced by C4KeyCodeEx::FromC4MC().
const int32_t C4MC_Button_None = 0 |
Definition at line 28 of file C4MouseControl.h.
Referenced by C4MouseControl::DoMoveInput(), C4MouseControl::Execute(), C4KeyCodeEx::FromC4MC(), C4GUI::Tabular::MouseInput(), C4MouseControl::Move(), C4GUI::Screen::RecheckMouseInput(), and C4GUI::Screen::SetMouseInGUI().
const int32_t C4MC_Button_RightDouble = 6 |
Definition at line 34 of file C4MouseControl.h.
Referenced by C4KeyCodeEx::FromC4MC().
const int32_t C4MC_Button_RightDown = 3 |
Definition at line 31 of file C4MouseControl.h.
Referenced by C4KeyCodeEx::FromC4MC(), C4GUI::CMouse::Input(), C4GUI::Element::MouseInput(), C4GUI::ContextButton::MouseInput(), C4GUI::Screen::MouseInput(), and C4MouseControl::Move().
const int32_t C4MC_Button_RightUp = 4 |
Definition at line 32 of file C4MouseControl.h.
Referenced by C4KeyCodeEx::FromC4MC(), C4GUI::CMouse::Input(), C4MenuItem::MouseInput(), and C4MouseControl::Move().
const int32_t C4MC_Button_Wheel = 7 |
Definition at line 35 of file C4MouseControl.h.
Referenced by C4KeyCodeEx::FromC4MC(), C4GUI::ScrollWindow::MouseInput(), C4MouseControl::Move(), and C4ScriptGuiWindow::ProcessMouseInput().
const int32_t C4MC_Button_X1Double = 13 |
Definition at line 41 of file C4MouseControl.h.
Referenced by C4KeyCodeEx::FromC4MC().
const int32_t C4MC_Button_X1Down = 11 |
Definition at line 39 of file C4MouseControl.h.
Referenced by C4KeyCodeEx::FromC4MC().
const int32_t C4MC_Button_X1Up = 12 |
Definition at line 40 of file C4MouseControl.h.
Referenced by C4KeyCodeEx::FromC4MC().
const int32_t C4MC_Button_X2Double = 16 |
Definition at line 44 of file C4MouseControl.h.
Referenced by C4KeyCodeEx::FromC4MC().
const int32_t C4MC_Button_X2Down = 14 |
Definition at line 42 of file C4MouseControl.h.
Referenced by C4KeyCodeEx::FromC4MC().
const int32_t C4MC_Button_X2Up = 15 |
Definition at line 43 of file C4MouseControl.h.
Referenced by C4KeyCodeEx::FromC4MC().
const int32_t C4MC_Cursor_Crosshair = 1 |
Definition at line 53 of file C4MouseControl.h.
Referenced by C4MouseControl::UpdateCursorTarget().
const int32_t C4MC_Cursor_Down = 4 |
Definition at line 56 of file C4MouseControl.h.
Referenced by C4MouseControl::Draw(), and C4MouseControl::UpdateScrolling().
const int32_t C4MC_Cursor_DownLeft = 9 |
Definition at line 61 of file C4MouseControl.h.
Referenced by C4MouseControl::Draw(), and C4MouseControl::UpdateScrolling().
const int32_t C4MC_Cursor_DownRight = 10 |
Definition at line 62 of file C4MouseControl.h.
Referenced by C4MouseControl::Draw(), and C4MouseControl::UpdateScrolling().
const int32_t C4MC_Cursor_DragDrop = 2 |
Definition at line 54 of file C4MouseControl.h.
Referenced by C4MouseControl::DragScript().
const int32_t C4MC_Cursor_DropInto = 12 |
Definition at line 64 of file C4MouseControl.h.
Referenced by C4EditCursor::Draw().
const int32_t C4MC_Cursor_Left = 5 |
Definition at line 57 of file C4MouseControl.h.
Referenced by C4MouseControl::Draw(), and C4MouseControl::UpdateScrolling().
const int32_t C4MC_Cursor_Passive = 11 |
Definition at line 63 of file C4MouseControl.h.
Referenced by C4MouseControl::UpdateCursorTarget(), and C4MouseControl::UpdateFogOfWar().
const int32_t C4MC_Cursor_Right = 6 |
Definition at line 58 of file C4MouseControl.h.
Referenced by C4MouseControl::Draw(), and C4MouseControl::UpdateScrolling().
const int32_t C4MC_Cursor_Select = 0 |
Definition at line 52 of file C4MouseControl.h.
Referenced by C4MouseControl::LeftUpDragNone(), C4MouseControl::Move(), C4MouseControl::RightUpDragNone(), C4MouseControl::UpdateCursorTarget(), and C4MouseControl::UpdateSingleSelection().
const int32_t C4MC_Cursor_Up = 3 |
Definition at line 55 of file C4MouseControl.h.
Referenced by C4MouseControl::Draw(), and C4MouseControl::UpdateScrolling().
const int32_t C4MC_Cursor_UpLeft = 7 |
Definition at line 59 of file C4MouseControl.h.
Referenced by C4MouseControl::Draw(), and C4MouseControl::UpdateScrolling().
const int32_t C4MC_Cursor_UpRight = 8 |
Definition at line 60 of file C4MouseControl.h.
Referenced by C4MouseControl::Draw(), and C4MouseControl::UpdateScrolling().
const int32_t C4MC_DragSensitivity = 5 |
Definition at line 46 of file C4MouseControl.h.
Referenced by C4MouseControl::DragNone().
const int32_t C4MC_MD_DragSource = 1 |
Definition at line 48 of file C4MouseControl.h.
Referenced by C4MouseControl::DragNone().
const int32_t C4MC_MD_DropTarget = 2 |
Definition at line 49 of file C4MouseControl.h.
Referenced by C4MouseControl::ButtonUpDragScript(), and C4MouseControl::UpdateCursorTarget().
const int32_t C4MC_MD_NoClick = 4 |
Definition at line 50 of file C4MouseControl.h.
Referenced by C4MouseControl::UpdateCursorTarget().
|
extern |
Definition at line 47 of file C4Globals.cpp.
Referenced by C4Viewport::AdjustPosition(), C4Game::Clear(), C4Game::ClearPointers(), C4Game::Default(), C4Viewport::DrawMenu(), C4Viewport::DrawOverlay(), C4Game::Execute(), C4ObjectMenu::IsReadOnly(), C4ScriptGuiWindow::MouseEnter(), C4MenuItem::MouseEnter(), C4MenuItem::MouseInput(), C4ScriptGuiWindow::MouseInput(), C4ScriptGuiWindow::MouseLeave(), C4GUI::Screen::MouseMove(), C4ViewportList::MouseMoveToViewport(), C4ScriptGuiWindow::OnMouseIn(), C4ObjectMenu::OnUserClose(), C4GameControl::PrepareInput(), C4ScriptGuiWindow::ProcessMouseInput(), C4EditCursor::SetMode(), C4GUI::Screen::SetMouseInGUI(), C4Viewport::SetOutputSize(), C4GUI::Screen::UpdateMouseFocus(), C4EditCursor::UpdateStatusBar(), and C4FullScreen::ViewportCheck().