~ubuntu-branches/ubuntu/hardy/codeblocks/hardy-backports

« back to all changes in this revision

Viewing changes to src/plugins/contrib/wxSmith/wxwidgets/properties/wxssimplefonteditordlg.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2008-07-17 04:39:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080717043923-gmsy5cwkdjswghkm
Tags: upstream-8.02
ImportĀ upstreamĀ versionĀ 8.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
* This file is part of wxSmith plugin for Code::Blocks Studio
 
3
* Copyright (C) 2006-2007  Bartlomiej Swiecki
 
4
*
 
5
* wxSmith is free software; you can redistribute it and/or modify
 
6
* it under the terms of the GNU General Public License as published by
 
7
* the Free Software Foundation; either version 3 of the License, or
 
8
* (at your option) any later version.
 
9
*
 
10
* wxSmith is distributed in the hope that it will be useful,
 
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
13
* GNU General Public License for more details.
 
14
*
 
15
* You should have received a copy of the GNU General Public License
 
16
* along with wxSmith. If not, see <http://www.gnu.org/licenses/>.
 
17
*
 
18
* $Revision: 4850 $
 
19
* $Id: wxssimplefonteditordlg.h 4850 2008-01-29 21:45:49Z byo $
 
20
* $HeadURL: svn://svn.berlios.de/codeblocks/tags/8.02/src/plugins/contrib/wxSmith/wxwidgets/properties/wxssimplefonteditordlg.h $
 
21
*/
 
22
 
 
23
#ifndef WXSSIMPLEFONTEDITORDLG_H
 
24
#define WXSSIMPLEFONTEDITORDLG_H
 
25
 
 
26
#include "wxsfontproperty.h"
 
27
 
 
28
//(*Headers(wxsSimpleFontEditorDlg)
 
29
#include <wx/sizer.h>
 
30
#include <wx/stattext.h>
 
31
#include <wx/textctrl.h>
 
32
#include <wx/statline.h>
 
33
#include <wx/button.h>
 
34
#include <wx/dialog.h>
 
35
//*)
 
36
 
 
37
class wxsSimpleFontEditorDlg: public wxDialog
 
38
{
 
39
        public:
 
40
 
 
41
                wxsSimpleFontEditorDlg(wxWindow* parent,wxsFontData& Data,wxWindowID id = -1);
 
42
                virtual ~wxsSimpleFontEditorDlg();
 
43
 
 
44
                //(*Identifiers(wxsSimpleFontEditorDlg)
 
45
                static const long ID_STATICTEXT1;
 
46
                static const long ID_STATICLINE2;
 
47
                static const long ID_BUTTON1;
 
48
                static const long ID_BUTTON3;
 
49
                static const long ID_STATICLINE1;
 
50
                static const long ID_BUTTON2;
 
51
                static const long ID_TEXTCTRL1;
 
52
                static const long ID_STATICTEXT2;
 
53
                static const long ID_STATICTEXT3;
 
54
                //*)
 
55
 
 
56
        private:
 
57
 
 
58
                //(*Handlers(wxsSimpleFontEditorDlg)
 
59
                void OnOK(wxCommandEvent& event);
 
60
                void OnButton1Click(wxCommandEvent& event);
 
61
                void OnButton2Click(wxCommandEvent& event);
 
62
                void OnButton3Click(wxCommandEvent& event);
 
63
                //*)
 
64
 
 
65
                //(*Declarations(wxsSimpleFontEditorDlg)
 
66
                wxBoxSizer* BoxSizer4;
 
67
                wxStaticBoxSizer* StaticBoxSizer2;
 
68
                wxStaticText* StaticText2;
 
69
                wxButton* Button1;
 
70
                wxTextCtrl* TestArea;
 
71
                wxFlexGridSizer* FlexGridSizer2;
 
72
                wxBoxSizer* BoxSizer2;
 
73
                wxStaticText* StaticText3;
 
74
                wxButton* Button2;
 
75
                wxStaticLine* StaticLine2;
 
76
                wxStaticText* FontDescription;
 
77
                wxButton* Button3;
 
78
                wxStaticLine* StaticLine1;
 
79
                wxBoxSizer* BoxSizer1;
 
80
                wxStaticBoxSizer* StaticBoxSizer1;
 
81
                wxFlexGridSizer* FlexGridSizer1;
 
82
                wxBoxSizer* BoxSizer3;
 
83
                wxStdDialogButtonSizer* StdDialogButtonSizer1;
 
84
                //*)
 
85
 
 
86
                wxsFontData& m_Data;
 
87
                wxsFontData  m_WorkingCopy;
 
88
 
 
89
                void UpdateFontDescription();
 
90
 
 
91
                DECLARE_EVENT_TABLE()
 
92
};
 
93
 
 
94
#endif