• Home
  • Raw
  • Download

Lines Matching refs:io

25     ImGuiIO& io = ImGui::GetIO();  in ImGuiLayer()  local
28 io.KeyMap[ImGuiKey_Tab] = (int)Window::Key::kTab; in ImGuiLayer()
29 io.KeyMap[ImGuiKey_LeftArrow] = (int)Window::Key::kLeft; in ImGuiLayer()
30 io.KeyMap[ImGuiKey_RightArrow] = (int)Window::Key::kRight; in ImGuiLayer()
31 io.KeyMap[ImGuiKey_UpArrow] = (int)Window::Key::kUp; in ImGuiLayer()
32 io.KeyMap[ImGuiKey_DownArrow] = (int)Window::Key::kDown; in ImGuiLayer()
33 io.KeyMap[ImGuiKey_PageUp] = (int)Window::Key::kPageUp; in ImGuiLayer()
34 io.KeyMap[ImGuiKey_PageDown] = (int)Window::Key::kPageDown; in ImGuiLayer()
35 io.KeyMap[ImGuiKey_Home] = (int)Window::Key::kHome; in ImGuiLayer()
36 io.KeyMap[ImGuiKey_End] = (int)Window::Key::kEnd; in ImGuiLayer()
37 io.KeyMap[ImGuiKey_Delete] = (int)Window::Key::kDelete; in ImGuiLayer()
38 io.KeyMap[ImGuiKey_Backspace] = (int)Window::Key::kBack; in ImGuiLayer()
39 io.KeyMap[ImGuiKey_Enter] = (int)Window::Key::kOK; in ImGuiLayer()
40 io.KeyMap[ImGuiKey_Escape] = (int)Window::Key::kEscape; in ImGuiLayer()
41 io.KeyMap[ImGuiKey_A] = (int)Window::Key::kA; in ImGuiLayer()
42 io.KeyMap[ImGuiKey_C] = (int)Window::Key::kC; in ImGuiLayer()
43 io.KeyMap[ImGuiKey_V] = (int)Window::Key::kV; in ImGuiLayer()
44 io.KeyMap[ImGuiKey_X] = (int)Window::Key::kX; in ImGuiLayer()
45 io.KeyMap[ImGuiKey_Y] = (int)Window::Key::kY; in ImGuiLayer()
46 io.KeyMap[ImGuiKey_Z] = (int)Window::Key::kZ; in ImGuiLayer()
50 io.Fonts->GetTexDataAsAlpha8(&pixels, &w, &h); in ImGuiLayer()
59 io.Fonts->TexID = &fFontPaint; in ImGuiLayer()
67 ImGuiIO& io = ImGui::GetIO(); in onMouse() local
68 io.MousePos.x = static_cast<float>(x); in onMouse()
69 io.MousePos.y = static_cast<float>(y); in onMouse()
71 io.MouseDown[0] = true; in onMouse()
73 io.MouseDown[0] = false; in onMouse()
75 return io.WantCaptureMouse; in onMouse()
79 ImGuiIO& io = ImGui::GetIO(); in onMouseWheel() local
80 io.MouseWheel += delta; in onMouseWheel()
92 ImGuiIO& io = ImGui::GetIO(); in onPrePaint() local
93 io.DeltaTime = 1.0f / 60.0f; in onPrePaint()
94 io.DisplaySize.x = static_cast<float>(fWindow->width()); in onPrePaint()
95 io.DisplaySize.y = static_cast<float>(fWindow->height()); in onPrePaint()
97 io.KeyAlt = io.KeysDown[static_cast<int>(Window::Key::kOption)]; in onPrePaint()
98 io.KeyCtrl = io.KeysDown[static_cast<int>(Window::Key::kCtrl)]; in onPrePaint()
99 io.KeyShift = io.KeysDown[static_cast<int>(Window::Key::kShift)]; in onPrePaint()
174 ImGuiIO& io = ImGui::GetIO(); in onKey() local
175 io.KeysDown[static_cast<int>(key)] = (Window::kDown_InputState == state); in onKey()
176 return io.WantCaptureKeyboard; in onKey()
180 ImGuiIO& io = ImGui::GetIO(); in onChar() local
181 if (io.WantTextInput) { in onChar()
183 io.AddInputCharacter(c); in onChar()