X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/74707ecf7c05981237c113f9fa567bf947f13805..1338c59a025505bc066be220fe56e898a72b3ad3:/include/wx/os2/private.h?ds=inline diff --git a/include/wx/os2/private.h b/include/wx/os2/private.h index 6810116050..7b57d7f594 100644 --- a/include/wx/os2/private.h +++ b/include/wx/os2/private.h @@ -30,15 +30,17 @@ ULONG idMasterSpb; /* ID of the servant's master spinbutton. */ PVOID pHWXCtlData; /* Handwriting control data structure flag. */ } SPBCDATA; - + typedef SPBCDATA *PSPBCDATA; #endif #include "wx/fontenc.h" +#include "wx/colour.h" class WXDLLEXPORT wxFont; class WXDLLEXPORT wxWindow; class WXDLLEXPORT wxString; +class WXDLLEXPORT wxBitmap; // --------------------------------------------------------------------------- // private constants @@ -267,9 +269,14 @@ WXDLLEXPORT void wxSetInstance(HINSTANCE hInst); WXDLLEXPORT wxWindow* wxFindWinFromHandle(WXHWND hWnd); WXDLLEXPORT void wxGetCharSize(WXHWND wnd, int *x, int *y,wxFont *the_font); + +WXDLLEXPORT void wxConvertVectorFontSize( FIXED fxPointSize + ,PFATTRS pFattrs + ); WXDLLEXPORT void wxFillLogFont( LOGFONT* pLogFont ,PFACENAMEDESC pFaceName - ,HPS hPS + ,HPS* phPS + ,bool* pbInternalPS ,long* pflId ,wxString& sFaceName ,wxFont* pFont @@ -329,9 +336,13 @@ WXDLLEXPORT extern void wxOS2SetFont( HWND hWnd ); -WXDLLEXPORT extern bool wxCheckWindowWndProc( WXHWND hWnd - ,WXFARPROC fnWndProc +WXDLLEXPORT extern bool wxCheckWindowWndProc( WXHWND hWnd + ,WXFARPROC fnWndProc ); +WXDLLEXPORT extern wxBitmap wxDisableBitmap( const wxBitmap& rBmp + ,long lColor + ); + +WXDLLEXPORT extern COLORREF wxColourToRGB(const wxColour& rColor); +#endif // _WX_PRIVATE_H_ -#endif - // _WX_PRIVATE_H_