]>
Commit | Line | Data |
---|---|---|
cc3977bf SC |
1 | /////////////////////////////////////////////////////////////////////////////\r |
2 | // Name: src/common/statbmpcmn.cpp\r | |
3 | // Purpose: wxStaticBitmap common code\r | |
4 | // Author: Julian Smart\r | |
5 | // Modified by:\r | |
6 | // Created: 04/01/98\r | |
7 | // RCS-ID: $Id: statbmp.cpp 42816 2006-10-31 08:50:17Z RD $\r | |
8 | // Copyright: (c) Julian Smart\r | |
9 | // Licence: wxWindows licence\r | |
10 | /////////////////////////////////////////////////////////////////////////////\r | |
11 | \r | |
12 | // ===========================================================================\r | |
13 | // declarations\r | |
14 | // ===========================================================================\r | |
15 | \r | |
16 | // ---------------------------------------------------------------------------\r | |
17 | // headers\r | |
18 | // ---------------------------------------------------------------------------\r | |
19 | \r | |
20 | // For compilers that support precompilation, includes "wx.h".\r | |
21 | #include "wx/wxprec.h"\r | |
22 | \r | |
23 | #ifdef __BORLANDC__\r | |
24 | #pragma hdrstop\r | |
25 | #endif\r | |
26 | \r | |
27 | #if wxUSE_STATBMP\r | |
28 | \r | |
29 | #include "wx/statbmp.h"\r | |
30 | \r | |
31 | // ---------------------------------------------------------------------------\r | |
32 | // XTI\r | |
33 | // ---------------------------------------------------------------------------\r | |
34 | \r | |
35 | wxDEFINE_FLAGS( wxStaticBitmapStyle )\r | |
36 | wxBEGIN_FLAGS( wxStaticBitmapStyle )\r | |
37 | // new style border flags, we put them first to\r | |
38 | // use them for streaming out\r | |
39 | wxFLAGS_MEMBER(wxBORDER_SIMPLE)\r | |
40 | wxFLAGS_MEMBER(wxBORDER_SUNKEN)\r | |
41 | wxFLAGS_MEMBER(wxBORDER_DOUBLE)\r | |
42 | wxFLAGS_MEMBER(wxBORDER_RAISED)\r | |
43 | wxFLAGS_MEMBER(wxBORDER_STATIC)\r | |
44 | wxFLAGS_MEMBER(wxBORDER_NONE)\r | |
45 | \r | |
46 | // old style border flags\r | |
47 | wxFLAGS_MEMBER(wxSIMPLE_BORDER)\r | |
48 | wxFLAGS_MEMBER(wxSUNKEN_BORDER)\r | |
49 | wxFLAGS_MEMBER(wxDOUBLE_BORDER)\r | |
50 | wxFLAGS_MEMBER(wxRAISED_BORDER)\r | |
51 | wxFLAGS_MEMBER(wxSTATIC_BORDER)\r | |
52 | wxFLAGS_MEMBER(wxBORDER)\r | |
53 | \r | |
54 | // standard window styles\r | |
55 | wxFLAGS_MEMBER(wxTAB_TRAVERSAL)\r | |
56 | wxFLAGS_MEMBER(wxCLIP_CHILDREN)\r | |
57 | wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)\r | |
58 | wxFLAGS_MEMBER(wxWANTS_CHARS)\r | |
59 | wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)\r | |
60 | wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )\r | |
61 | wxFLAGS_MEMBER(wxVSCROLL)\r | |
62 | wxFLAGS_MEMBER(wxHSCROLL)\r | |
63 | \r | |
64 | wxEND_FLAGS( wxStaticBitmapStyle )\r | |
65 | \r | |
66 | wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxStaticBitmap, wxControl, "wx/statbmp.h")\r | |
67 | \r | |
68 | wxBEGIN_PROPERTIES_TABLE(wxStaticBitmap)\r | |
69 | wxPROPERTY_FLAGS( WindowStyle, wxStaticBitmapStyle, long, \\r | |
70 | SetWindowStyleFlag, GetWindowStyleFlag, \\r | |
71 | wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, wxT("Helpstring"), \\r | |
72 | wxT("group")) // style\r | |
73 | wxEND_PROPERTIES_TABLE()\r | |
74 | \r | |
75 | wxEMPTY_HANDLERS_TABLE(wxStaticBitmap)\r | |
76 | \r | |
77 | wxCONSTRUCTOR_5( wxStaticBitmap, wxWindow*, Parent, wxWindowID, Id, \\r | |
78 | wxBitmap, Bitmap, wxPoint, Position, wxSize, Size )\r | |
79 | \r | |
80 | /*\r | |
81 | TODO PROPERTIES :\r | |
82 | bitmap\r | |
83 | */\r | |
84 | \r | |
85 | #endif // wxUSE_STATBMP\r |