comparison src/console-msw.h @ 223:2c611d1463a6 r20-4b10

Import from CVS: tag r20-4b10
author cvs
date Mon, 13 Aug 2007 10:10:54 +0200
parents 78f53ef88e17
children 557eaa0339bf
comparison
equal deleted inserted replaced
222:aae4c8b01452 223:2c611d1463a6
68 /* win32 window handle */ 68 /* win32 window handle */
69 HWND hwnd; 69 HWND hwnd;
70 70
71 /* DC for this win32 window */ 71 /* DC for this win32 window */
72 HDC hdc; 72 HDC hdc;
73
74 /* Time of last click event, for button 2 emul */
75 DWORD last_click_time;
76
77 /* Coordinates of last click event, screen-relative */
78 POINTS last_click_point;
79
80 /* Misc flags */
81 int button2_need_lbutton : 1;
82 int button2_need_rbutton : 1;
83 int button2_is_down : 1;
84 int ignore_next_lbutton_up : 1;
85 int ignore_next_rbutton_up : 1;
86 int sizing : 1;
73 }; 87 };
74 88
75 #define FRAME_MSWINDOWS_DATA(f) FRAME_TYPE_DATA (f, mswindows) 89 #define FRAME_MSWINDOWS_DATA(f) FRAME_TYPE_DATA (f, mswindows)
76 90
77 #define FRAME_MSWINDOWS_HANDLE(f) (FRAME_MSWINDOWS_DATA (f)->hwnd) 91 #define FRAME_MSWINDOWS_HANDLE(f) (FRAME_MSWINDOWS_DATA (f)->hwnd)