#include "imgui.h"
#include "imgui_impl_win32.h"
#include <windows.h>
#include <tchar.h>
#include <XInput.h>
Go to the source code of this file.
◆ DBT_DEVNODES_CHANGED
      
        
          | #define DBT_DEVNODES_CHANGED   0x0007 | 
      
 
 
◆ DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE
      
        
          | #define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE   (DPI_AWARENESS_CONTEXT)-3 | 
      
 
 
◆ DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2
      
        
          | #define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2   (DPI_AWARENESS_CONTEXT)-4 | 
      
 
 
◆ IsWindows8Point1OrGreater
◆ MAP_ANALOG
      
        
          | #define MAP_ANALOG | ( |  | NAV_NO, | 
        
          |  |  |  | VALUE, | 
        
          |  |  |  | V0, | 
        
          |  |  |  | V1 | 
        
          |  | ) |  | { float vn = (float)(VALUE - V0) / (float)(V1 - V0); if (vn > 1.0f) vn = 1.0f; if (vn > 0.0f && io.NavInputs[NAV_NO] < vn) io.NavInputs[NAV_NO] = vn; } | 
      
 
 
◆ MAP_BUTTON
      
        
          | #define MAP_BUTTON | ( |  | NAV_NO, | 
        
          |  |  |  | BUTTON_ENUM | 
        
          |  | ) |  | { io.NavInputs[NAV_NO] = (gamepad.wButtons & BUTTON_ENUM) ? 1.0f : 0.0f; } | 
      
 
 
◆ WIN32_LEAN_AND_MEAN
      
        
          | #define WIN32_LEAN_AND_MEAN | 
      
 
 
◆ WM_MOUSEHWHEEL
      
        
          | #define WM_MOUSEHWHEEL   0x020E | 
      
 
 
◆ PFN_GetDpiForMonitor
      
        
          | typedef HRESULT(WINAPI* PFN_GetDpiForMonitor) (HMONITOR, MONITOR_DPI_TYPE, UINT *, UINT *) | 
      
 
 
◆ PFN_SetProcessDpiAwareness
◆ PFN_SetThreadDpiAwarenessContext
      
        
          | typedef DPI_AWARENESS_CONTEXT(WINAPI* PFN_SetThreadDpiAwarenessContext) (DPI_AWARENESS_CONTEXT) | 
      
 
 
◆ MONITOR_DPI_TYPE
| Enumerator | 
|---|
| MDT_EFFECTIVE_DPI |  | 
| MDT_ANGULAR_DPI |  | 
| MDT_RAW_DPI |  | 
| MDT_DEFAULT |  | 
Definition at line 374 of file imgui_impl_win32.cpp.
 
 
◆ PROCESS_DPI_AWARENESS
| Enumerator | 
|---|
| PROCESS_DPI_UNAWARE |  | 
| PROCESS_SYSTEM_DPI_AWARE |  | 
| PROCESS_PER_MONITOR_DPI_AWARE |  | 
Definition at line 373 of file imgui_impl_win32.cpp.
 
 
◆ DECLARE_HANDLE()
      
        
          | DECLARE_HANDLE | ( | DPI_AWARENESS_CONTEXT |  | ) |  | 
      
 
 
◆ ImGui_ImplWin32_EnableDpiAwareness()
      
        
          | void ImGui_ImplWin32_EnableDpiAwareness | ( |  | ) |  | 
      
 
 
◆ ImGui_ImplWin32_GetDpiScaleForHwnd()
      
        
          | float ImGui_ImplWin32_GetDpiScaleForHwnd | ( | void * | hwnd | ) |  | 
      
 
 
◆ ImGui_ImplWin32_GetDpiScaleForMonitor()
      
        
          | float ImGui_ImplWin32_GetDpiScaleForMonitor | ( | void * | monitor | ) |  | 
      
 
 
◆ ImGui_ImplWin32_Init()
      
        
          | bool ImGui_ImplWin32_Init | ( | void * | hwnd | ) |  | 
      
 
 
◆ ImGui_ImplWin32_NewFrame()
      
        
          | void ImGui_ImplWin32_NewFrame | ( |  | ) |  | 
      
 
 
◆ ImGui_ImplWin32_Shutdown()
      
        
          | void ImGui_ImplWin32_Shutdown | ( |  | ) |  | 
      
 
 
◆ ImGui_ImplWin32_UpdateGamepads()
  
  | 
        
          | static void ImGui_ImplWin32_UpdateGamepads | ( |  | ) |  |  | static | 
 
 
◆ ImGui_ImplWin32_UpdateMouseCursor()
  
  | 
        
          | static bool ImGui_ImplWin32_UpdateMouseCursor | ( |  | ) |  |  | static | 
 
 
◆ ImGui_ImplWin32_UpdateMousePos()
  
  | 
        
          | static void ImGui_ImplWin32_UpdateMousePos | ( |  | ) |  |  | static | 
 
 
◆ ImGui_ImplWin32_WndProcHandler()
      
        
          | IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler | ( | HWND | hwnd, | 
        
          |  |  | UINT | msg, | 
        
          |  |  | WPARAM | wParam, | 
        
          |  |  | LPARAM | lParam | 
        
          |  | ) |  |  | 
      
 
 
◆ IsWindowsVersionOrGreater()
  
  | 
        
          | static BOOL IsWindowsVersionOrGreater | ( | WORD | major, |  
          |  |  | WORD | minor, |  
          |  |  | WORD | sp |  
          |  | ) |  |  |  | static | 
 
 
◆ g_HasGamepad
  
  | 
        
          | bool g_HasGamepad = false |  | static | 
 
 
◆ g_hWnd
◆ g_LastMouseCursor
◆ g_TicksPerSecond
  
  | 
        
          | INT64 g_TicksPerSecond = 0 |  | static | 
 
 
◆ g_Time
◆ g_WantUpdateHasGamepad
  
  | 
        
          | bool g_WantUpdateHasGamepad = true |  | static |