/usr/include/wxsmith/wxwidgets/properties/wxsimagecomboeditordlg.h is in libwxsmithlib-dev 13.12+dfsg-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | /** \file wxsimagecomboeditordlg.h
*
* This file is part of wxSmith plugin for Code::Blocks Studio
* Copyright (C) 2010 Gary Harris
*
* wxSmith 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 3 of the License, or
* (at your option) any later version.
*
* wxSmith is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with wxSmith. If not, see <http://www.gnu.org/licenses/>.
*
* This code was taken from the wxSmithImage plug-in, copyright Ron Collins
* and released under the GPL.
*
*/
#ifndef WXSIMAGECOMBOEDITORDLG_H
#define WXSIMAGECOMBOEDITORDLG_H
//(*Headers(wxsImageComboEditorDlg)
#include <wx/treectrl.h>
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/bmpbuttn.h>
#include <wx/button.h>
#include "scrollingdialog.h"
#include <wx/combobox.h>
//*)
#include "../defitems/wxsimagelist.h"
#include <wx/bmpcbox.h>
#include <wx/msgdlg.h>
#include <wx/imaglist.h>
#include <wx/bitmap.h>
class wxsItem;
///*! \brief wxBitmapComboBox item editor dialogue. */
class wxsImageComboEditorDlg: public wxScrollingDialog
{
public:
/*! \brief Constructor.
*
* \param parent wxWindow*
* \param id wxWindowID
* \param pos const wxPoint&
* \param size const wxSize&
*/
wxsImageComboEditorDlg(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);
/** \brief Destructor. */
virtual ~wxsImageComboEditorDlg();
bool Execute(wxArrayString &aItems);
//(*Declarations(wxsImageComboEditorDlg)
wxStaticText* StaticText10;
wxStaticText* StaticText9;
wxBitmapButton* m_pBtnEditItem;
wxBitmapButton* m_pBtnMoveDown;
wxButton* m_pBtnOK;
wxStaticText* StaticText2;
wxStaticText* StaticText6;
wxBitmapButton* m_pBtnDeleteItem;
wxBitmapButton* m_pBtnDeleteAll;
wxStaticText* StaticText8;
wxStaticText* StaticText1;
wxStaticText* StaticText3;
wxTreeCtrl* m_pTree;
wxButton* m_pBtnCancel;
wxStaticText* StaticText5;
wxStaticText* StaticText7;
wxBitmapComboBox* m_pCmbImage;
wxBitmapButton* m_pBtnMoveUp;
wxBitmapButton* m_pBtnAddItem;
wxStaticText* StaticText4;
//*)
protected:
//(*Identifiers(wxsImageComboEditorDlg)
static const long ID_STATICTEXT1;
static const long ID_TREECTRL1;
static const long ID_STATICTEXT2;
static const long ID_BITMAPBUTTON1;
static const long ID_STATICTEXT3;
static const long ID_BITMAPBUTTON2;
static const long ID_STATICTEXT4;
static const long ID_BITMAPBUTTON3;
static const long ID_STATICTEXT5;
static const long ID_BITMAPBUTTON4;
static const long ID_STATICTEXT6;
static const long ID_BITMAPBUTTON5;
static const long ID_STATICTEXT7;
static const long ID_BITMAPBUTTON6;
static const long ID_STATICTEXT8;
static const long ID_STATICTEXT9;
static const long ID_COMBOBOX1;
static const long ID_STATICTEXT10;
static const long ID_BUTTON1;
static const long ID_BUTTON2;
//*)
private:
//(*Handlers(wxsImageComboEditorDlg)
void OnBtnDeleteAllClick(wxCommandEvent& event);
void OnBtnAddItemClick(wxCommandEvent& event);
void OnBtnMoveUpClick(wxCommandEvent& event);
void OnBtnMoveDownClick(wxCommandEvent& event);
void OnBtnDeleteItemClick(wxCommandEvent& event);
void OnBtnEditItemClick(wxCommandEvent& event);
void OnBtnOKClick(wxCommandEvent& event);
void OnBtnCancelClick(wxCommandEvent& event);
void OnCmbImageSelect(wxCommandEvent& event);
void OnTreeSelectionChanged(wxTreeEvent& event);
//*)
wxString m_ComboName; //!< The name of the base combobox.
wxString m_ImageName; //!< The name of the image list.
wxImageList m_ImageList; //!< Local copy of an image list
DECLARE_EVENT_TABLE()
};
#endif
|