Debian Codegraph @

src/wxDynamicBitmap.h

raw symbols SCIP
1 // $Header$cxx . . $ `<file>/src/wxDynamicBitmap.h`/
2 /***************************************************************************
3 * Copyright (C) 2006-2007 by Guy Rutenberg *
4 * [email protected] *
5 * *
6 * This program is free software; you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation; either version 2 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program; if not, write to the *
18 * Free Software Foundation, Inc., *
19 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
20 ***************************************************************************/
21 /**\file wxDynamicBitmap.h
22 *\brief Header file for DBwrapper class.
23 *
24 * This file contains the header for the wxDynamicBitmap class and all the nessecery include files.
25 */
26
27 #include <wx/wx.h>
28 //#include <wx/control.h>
29
30 #ifndef WXDYNAMICBITMAP
31 #define WXDYNAMICBITMAPcxx . . $ `src/wxDynamicBitmap.h:31:9`!
32
33 /// wxDynamicBitmap class - a wrapper for databases
34 /**
35 the wxDynamicBitmap class is a wxWidgets class for dynamicly displaying bitmaps. This is different
36 than wxStaticBitmap in the fact that it immediatly draws the bitmap and doesn't wait for the paint event.
37 */
38
39 class wxDynamicBitmapcxx . . $ wxDynamicBitmap# : public wxControlcxx . . $ wxControl# {
40 public:
41 wxDynamicBitmapcxx . . $ wxDynamicBitmap#wxDynamicBitmap(ce2e2fe9496d05c4). (wxWindowcxx . . $ wxWindow#* parent, wxWindowIDcxx . . $ wxWindowID# id, wxBitmapcxx . . $ wxBitmap# *bitmap,
42 const wxPointcxx . . $ wxPoint#& pos = wxDefaultPositioncxx . . $ wxDefaultPosition., const wxSizecxx . . $ wxSize#& size = wxDefaultSizecxx . . $ wxDefaultSize.,
43 long style = wxNO_BORDERcxx . . $ wxBORDER_NONE., const wxStringcxx . . $ wxString#& name = wxPanelNameStrcxx . . $ wxString#wxString(85c52e162fed56f9).);
44 virtual void SetBitmapcxx . . $ wxDynamicBitmap#SetBitmap(5b5686b4f88e80eb).(wxBitmapcxx . . $ wxBitmap# *bitmap);
45 wxBitmapcxx . . $ wxBitmap# GetBitmapcxx . . $ wxDynamicBitmap#GetBitmap(e893204fbbabd17a).();
46 void OnPaintcxx . . $ wxDynamicBitmap#OnPaint(954efb20b042ed11).(wxPaintEventcxx . . $ wxPaintEvent#& event);
47 void OnClickcxx . . $ wxDynamicBitmap#OnClick(7e6a1c70b0e99497).(wxMouseEventcxx . . $ wxMouseEvent#& event);
48 wxSizecxx . . $ wxSize# DoGetBestSizecxx . . $ wxDynamicBitmap#DoGetBestSize(1760195b8cec6c4e).() const;
49 void SetGrayScalecxx . . $ wxDynamicBitmap#SetGrayScale(b45ddcbc8423892c).(bool grayscale=true);
50 void ConvertToGrayScalecxx . . $ wxDynamicBitmap#ConvertToGrayScale(14c8f64dce9da251).(wxImagecxx . . $ wxImage#& image) const;
51 private:
52 void PaintBitmapcxx . . $ wxDynamicBitmap#PaintBitmap(99f63e575cba0cee).(wxDCcxx . . $ wxDC#& dc);
53 wxBitmapcxx . . $ wxBitmap# m_bitmapcxx . . $ wxDynamicBitmap#m_bitmap.;
54 wxBitmapcxx . . $ wxBitmap# m_graybitmapcxx . . $ wxDynamicBitmap#m_graybitmap.;
55 bool m_grayscalecxx . . $ wxDynamicBitmap#m_grayscale.;
56 };
57
58 #endif //WXDYNAMICBITMAP