]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/statusbr.h
opening ATSU Font info for Ulrich Telle's wxPDFContext
[wxWidgets.git] / include / wx / osx / statusbr.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/statusbr.h
3 // Purpose: native implementation of wxStatusBar.
4 // Optional: can use generic version instead.
5 // Author: Stefan Csomor
6 // Modified by:
7 // Created: 1998-01-01
8 // RCS-ID: $Id$
9 // Copyright: (c) Stefan Csomor
10 // Licence: wxWindows licence
11 ///////////////////////////////////////////////////////////////////////////////
12
13 #ifndef _WX_STATBAR_H_
14 #define _WX_STATBAR_H_
15
16 class WXDLLIMPEXP_CORE wxStatusBarMac : public wxStatusBarGeneric
17 {
18 public:
19 wxStatusBarMac();
20 wxStatusBarMac(wxWindow *parent, wxWindowID id = wxID_ANY,
21 long style = wxSTB_DEFAULT_STYLE,
22 const wxString& name = wxStatusBarNameStr);
23
24 virtual ~wxStatusBarMac();
25
26 bool Create(wxWindow *parent, wxWindowID id = wxID_ANY,
27 long style = wxSTB_DEFAULT_STYLE,
28 const wxString& name = wxStatusBarNameStr);
29
30 // Implementation
31 virtual void MacHiliteChanged();
32 void OnPaint(wxPaintEvent& event);
33
34 protected:
35 virtual void DrawFieldText(wxDC& dc, const wxRect& rc, int i, int textHeight);
36 virtual void DrawField(wxDC& dc, int i, int textHeight);
37 virtual void DoUpdateStatusText(int number = 0);
38
39 DECLARE_DYNAMIC_CLASS(wxStatusBarMac)
40 DECLARE_EVENT_TABLE()
41 };
42
43 #endif // _WX_STATBAR_H_