mirror of
https://github.com/gnustep/libs-back.git
synced 2025-06-04 19:20:47 +00:00
General cleanup of win32 code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26066 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f3dd6d33cf
commit
025ee25307
9 changed files with 570 additions and 889 deletions
|
@ -74,7 +74,6 @@ DWORD windowStyleForGSStyle(unsigned int style);
|
|||
typedef struct w32serverFlags {
|
||||
|
||||
int _last_WM_ACTIVATE;
|
||||
int eventQueCount;
|
||||
int menuRef; // reference to menu window
|
||||
unsigned int currentGS_Style; // what style is current event window
|
||||
BOOL HOLD_MENU_FOR_MOVE; // override GS move event on hide
|
||||
|
@ -125,13 +124,27 @@ typedef struct w32serverFlags {
|
|||
|
||||
- (void) setFlagsforEventLoop: (HWND)hwnd;
|
||||
|
||||
// declared but should be implimented in a subclass window server (subclass resposibility)
|
||||
- (DWORD) windowStyleForGSStyle: (unsigned int) style;
|
||||
|
||||
- (void) resizeBackingStoreFor: (HWND)hwnd;
|
||||
|
||||
- (void) resetForGSWindowStyle: (HWND)hwnd w32Style:(DWORD)aStyle;
|
||||
|
||||
@end
|
||||
|
||||
@interface WIN32Server (w32_activate)
|
||||
|
||||
- (LRESULT) decodeWM_ACTIVEParams: (WPARAM)wParam : (LPARAM)lParam
|
||||
: (HWND)hwnd;
|
||||
- (LRESULT) decodeWM_ACTIVEAPPParams: (HWND)hwnd : (WPARAM)wParam
|
||||
: (LPARAM)lParam;
|
||||
- (void) decodeWM_NCACTIVATEParams: (WPARAM)wParam : (LPARAM)lParam
|
||||
: (HWND)hwnd;
|
||||
|
||||
@end
|
||||
|
||||
@interface WIN32Server (w32_movesize)
|
||||
|
||||
- (LRESULT) decodeWM_SIZEParams: (HWND)hwnd : (WPARAM)wParam : (LPARAM)lParam;
|
||||
- (LRESULT) decodeWM_MOVEParams: (HWND)hwnd : (WPARAM)wParam : (LPARAM)lParam;
|
||||
- (void) decodeWM_NCCALCSIZEParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
|
@ -142,24 +155,39 @@ typedef struct w32serverFlags {
|
|||
- (LRESULT) decodeWM_MOVINGParams: (HWND)hwnd : (WPARAM)wParam : (LPARAM)lParam;
|
||||
- (void) decodeWM_SIZINGParams: (HWND)hwnd : (WPARAM)wParam : (LPARAM)lParam;
|
||||
|
||||
@end
|
||||
|
||||
@interface WIN32Server (w32_create)
|
||||
|
||||
- (LRESULT) decodeWM_NCCREATEParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
- (LRESULT) decodeWM_CREATEParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
|
||||
- (DWORD) windowStyleForGSStyle: (unsigned int) style;
|
||||
@end
|
||||
|
||||
@interface WIN32Server (w32_windowdisplay)
|
||||
|
||||
- (void) decodeWM_SHOWWINDOWParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
- (void) decodeWM_NCPAINTParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
- (LRESULT) decodeWM_ERASEBKGNDParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
- (void) decodeWM_PAINTParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
- (void) decodeWM_SYNCPAINTParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
- (void) decodeWM_CAPTURECHANGEDParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
//- (HICON) decodeWM_GETICONParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
- (void) resizeBackingStoreFor: (HWND)hwnd;
|
||||
- (HICON) decodeWM_GETICONParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
- (HICON) decodeWM_SETICONParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
|
||||
@end
|
||||
|
||||
@interface WIN32Server (w32_text_focus)
|
||||
|
||||
//- (LRESULT) decodeWM_SETTEXTParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
- (LRESULT) decodeWM_SETFOCUSParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
- (void) decodeWM_KILLFOCUSParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
- (void) decodeWM_GETTEXTParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
|
||||
@end
|
||||
|
||||
@interface WIN32Server (w32_General)
|
||||
|
||||
- (void) decodeWM_CLOSEParams: (WPARAM)wParam :(LPARAM)lParam :(HWND)hwnd;
|
||||
- (void) decodeWM_DESTROYParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
- (void) decodeWM_NCDESTROYParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue