2
* This file is part of wxSmith plugin for Code::Blocks Studio
3
* Copyright (C) 2006-2007 Bartlomiej Swiecki
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.
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.
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/>.
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 $
23
#ifndef WXSSIMPLEFONTEDITORDLG_H
24
#define WXSSIMPLEFONTEDITORDLG_H
26
#include "wxsfontproperty.h"
28
//(*Headers(wxsSimpleFontEditorDlg)
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>
37
class wxsSimpleFontEditorDlg: public wxDialog
41
wxsSimpleFontEditorDlg(wxWindow* parent,wxsFontData& Data,wxWindowID id = -1);
42
virtual ~wxsSimpleFontEditorDlg();
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;
58
//(*Handlers(wxsSimpleFontEditorDlg)
59
void OnOK(wxCommandEvent& event);
60
void OnButton1Click(wxCommandEvent& event);
61
void OnButton2Click(wxCommandEvent& event);
62
void OnButton3Click(wxCommandEvent& event);
65
//(*Declarations(wxsSimpleFontEditorDlg)
66
wxBoxSizer* BoxSizer4;
67
wxStaticBoxSizer* StaticBoxSizer2;
68
wxStaticText* StaticText2;
71
wxFlexGridSizer* FlexGridSizer2;
72
wxBoxSizer* BoxSizer2;
73
wxStaticText* StaticText3;
75
wxStaticLine* StaticLine2;
76
wxStaticText* FontDescription;
78
wxStaticLine* StaticLine1;
79
wxBoxSizer* BoxSizer1;
80
wxStaticBoxSizer* StaticBoxSizer1;
81
wxFlexGridSizer* FlexGridSizer1;
82
wxBoxSizer* BoxSizer3;
83
wxStdDialogButtonSizer* StdDialogButtonSizer1;
87
wxsFontData m_WorkingCopy;
89
void UpdateFontDescription();