1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
|
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//
// Copyright : (C) 2015 Eran Ifrah
// File name : UI.h
//
// -------------------------------------------------------------------------
// A
// _____ _ _ _ _
// / __ \ | | | | (_) |
// | / \/ ___ __| | ___| | _| |_ ___
// | | / _ \ / _ |/ _ \ | | | __/ _ )
// | \__/\ (_) | (_| | __/ |___| | || __/
// \____/\___/ \__,_|\___\_____/_|\__\___|
//
// F i l e
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
// This file was auto-generated by codelite's wxCrafter Plugin
// wxCrafter project file: UI.wxcp
// Do not modify this file by hand!
//////////////////////////////////////////////////////////////////////
#ifndef CODELITE_WORDCOMPLETION_UI_BASE_CLASSES_H
#define CODELITE_WORDCOMPLETION_UI_BASE_CLASSES_H
#include <wx/settings.h>
#include <wx/xrc/xmlres.h>
#include <wx/xrc/xh_bmp.h>
#include <wx/dialog.h>
#include <wx/iconbndl.h>
#include <wx/artprov.h>
#include <wx/sizer.h>
#include <wx/propgrid/manager.h>
#include <wx/propgrid/property.h>
#include <wx/propgrid/advprops.h>
#include <wx/button.h>
#include <wx/imaglist.h>
#include <wx/bitmap.h>
#include <map>
#include <wx/icon.h>
#if wxVERSION_NUMBER >= 2900
#include <wx/persist.h>
#include <wx/persist/toplevel.h>
#include <wx/persist/bookctrl.h>
#include <wx/persist/treebook.h>
#endif
#include "WordCompletionSettings.h"
class WordCompletionSettingsBaseDlg : public wxDialog
{
protected:
wxPropertyGridManager* m_pgMgr;
wxPGProperty* m_pgPropEnabled;
wxPGProperty* m_pgPropComparisonMethod;
wxStdDialogButtonSizer* m_stdBtnSizer4;
wxButton* m_button6;
wxButton* m_button8;
protected:
virtual void OnValueChanged(wxPropertyGridEvent& event) { event.Skip(); }
virtual void OnOk(wxCommandEvent& event) { event.Skip(); }
virtual void OnOkUI(wxUpdateUIEvent& event) { event.Skip(); }
public:
wxPropertyGridManager* GetPgMgr() { return m_pgMgr; }
WordCompletionSettingsBaseDlg(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Word Completion Settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
virtual ~WordCompletionSettingsBaseDlg();
};
class WordCompletionImages : public wxImageList
{
protected:
// Maintain a map of all bitmaps representd by their name
std::map<wxString, wxBitmap> m_bitmaps;
protected:
public:
WordCompletionImages();
const wxBitmap& Bitmap(const wxString &name) const {
if ( !m_bitmaps.count(name) )
return wxNullBitmap;
return m_bitmaps.find(name)->second;
}
virtual ~WordCompletionImages();
};
#endif
|