65#include <wx/toolbar.h>
66#include <wx/listctrl.h>
67#include <wx/docview.h>
83 MyCanvas(wxWindow *parent,
const wxPoint& pos,
const wxSize& size);
100 MyFrame(wxWindow *parent,
const wxWindowID
id,
const wxString& title,
101 const wxPoint& pos,
const wxSize& size,
const long style);
105 void OnAbout(wxCommandEvent& event);
107 void OnQuit(wxCommandEvent& event);
108 void OnClose(wxCloseEvent& event);
112 DECLARE_EVENT_TABLE()
121 const wxArrayString& filenames)
123 size_t nFiles = filenames.GetCount();
125 for (
size_t n=0; n<nFiles; n++) {
137 MyChild(wxMDIParentFrame *parent,
const wxString& title, CIccProfile *pIcc,
const wxString &profilePath);
144 void OnQuit(wxCommandEvent& event);
145 void OnClose(wxCloseEvent& event);
185 DECLARE_EVENT_TABLE()
191 MyDialog(wxWindow *pParent,
const wxString& title, wxString &profilePath);
199 MyRoundTripDialog(wxWindow *pParent,
const wxString& title, wxString &profilePath, CIccProfile *pIcc);
virtual void OnDraw(wxDC &dc)
MyCanvas(wxWindow *parent, const wxPoint &pos, const wxSize &size)
void OnEvent(wxMouseEvent &event)
wxStaticText * m_textIlluminant
wxStaticText * m_textAttribute
wxStaticText * m_textDeviceManufacturer
wxStaticText * m_textSubClass
wxStaticText * m_textFlags
wxSizer * CreateSizerWithText(const wxString &labelText, wxStaticText **ppText)
wxStaticText * m_textPlatform
wxStaticText * m_textRenderingIntent
wxStaticText * m_textSpectralWavelengths
void OnQuit(wxCommandEvent &event)
void OnValidate(wxCommandEvent &event)
void SetFileMenu(wxMenu *menu)
wxStaticText * m_textCreator
wxStaticText * m_textSize
void OnClose(wxCloseEvent &event)
void OnUpdateRefresh(wxUpdateUIEvent &event)
wxStaticText * m_textBiSpectralWavelengths
wxStaticText * m_textClass
void OnRefresh(wxCommandEvent &event)
wxStaticText * m_textColorSpace
wxStaticText * m_textSpectralPCS
wxStaticText * m_textProfileID
void OnTagClicked(wxListEvent &event)
void OnRoundTrip(wxCommandEvent &event)
MyChild(wxMDIParentFrame *parent, const wxString &title, CIccProfile *pIcc, const wxString &profilePath)
wxStaticText * m_textSubClassVersion
void OnActivate(wxActivateEvent &event)
wxStaticText * m_textVersion
wxStaticText * m_textCreationDate
wxStaticText * m_textMaterialColorSpace
MyDialog(wxWindow *pParent, const wxString &title, wxString &profilePath)
virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString &filenames)
MyDnDFile(MyFrame *owner)
void OpenFile(wxString path)
void OnOpenProfile(wxCommandEvent &event)
void OnQuit(wxCommandEvent &event)
void InitToolBar(wxToolBar *toolBar)
void OnAbout(wxCommandEvent &event)
void OnClose(wxCloseEvent &event)
MyFrame(wxWindow *parent, const wxWindowID id, const wxString &title, const wxPoint &pos, const wxSize &size, const long style)
MyRoundTripDialog(wxWindow *pParent, const wxString &title, wxString &profilePath, CIccProfile *pIcc)
MyTagDialog(wxWindow *pParent, CIccProfile *pIcc, icTagSignature sig, CIccTag *pTag)