Win32: Basic Pen driver setup

This commit is contained in:
MatthiasWM
2025-12-21 15:34:04 +01:00
parent bad956cdd6
commit 7bbf3a1bc3
3 changed files with 531 additions and 0 deletions
+1
View File
@@ -399,6 +399,7 @@ else()
drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx
drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx
drivers/WinAPI/Fl_WinAPI_Printer_Driver.cxx
drivers/WinAPI/Fl_WinAPI_Pen_Driver.cxx
drivers/GDI/Fl_GDI_Graphics_Driver.cxx
drivers/GDI/Fl_GDI_Graphics_Driver_arci.cxx
drivers/GDI/Fl_GDI_Graphics_Driver_color.cxx
+11
View File
@@ -1211,6 +1211,7 @@ static Fl_Window *resize_bug_fix;
extern void fl_save_pen(void);
extern void fl_restore_pen(void);
extern LRESULT fl_win32_tablet_handler(MSG& msg);
static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) {
@@ -1818,7 +1819,17 @@ content key keyboard layout
return 0;
// case 0xc000: // WM_TABLET_QUERYSYSTEMGESTURESTATUS
// if (fl_win32_tablet_handler(fl_msg))
// return 0;
// break;
default:
{ LRESULT ret = fl_win32_tablet_handler(fl_msg);
if (ret != -1)
return ret;
}
if (Fl::handle(0, 0))
return 0;
break;
File diff suppressed because it is too large Load Diff