a62da4c56f
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
82 lines
1.7 KiB
C++
82 lines
1.7 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Purpose: XML resources editor
|
|
// Author: Vaclav Slavik
|
|
// Created: 2000/05/05
|
|
// RCS-ID: $Id$
|
|
// Copyright: (c) 2000 Vaclav Slavik
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface "pe_adv.h"
|
|
#endif
|
|
|
|
#ifndef _PE_ADV_H_
|
|
#define _PE_ADV_H_
|
|
|
|
#include "propedit.h"
|
|
#include "pe_basic.h"
|
|
|
|
class WXDLLEXPORT wxChoice;
|
|
|
|
|
|
class PropEditCtrlFont : public PropEditCtrlTxt
|
|
{
|
|
public:
|
|
PropEditCtrlFont(PropertiesFrame *propFrame)
|
|
: PropEditCtrlTxt(propFrame) {}
|
|
|
|
virtual wxWindow* CreateEditCtrl();
|
|
virtual wxTreeItemId CreateTreeEntry(wxTreeItemId parent, const PropertyInfo& pinfo);
|
|
};
|
|
|
|
|
|
|
|
class PropEditCtrlChoice : public PropEditCtrl
|
|
{
|
|
public:
|
|
PropEditCtrlChoice(PropertiesFrame *propFrame)
|
|
: PropEditCtrl(propFrame) {}
|
|
|
|
virtual wxWindow* CreateEditCtrl();
|
|
|
|
virtual void ReadValue();
|
|
virtual void WriteValue();
|
|
|
|
protected:
|
|
wxChoice *m_Choice;
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
void OnChoice(wxCommandEvent& event);
|
|
};
|
|
|
|
|
|
class PropEditCtrlColor : public PropEditCtrlTxt
|
|
{
|
|
public:
|
|
PropEditCtrlColor(PropertiesFrame *propFrame)
|
|
: PropEditCtrlTxt(propFrame) {}
|
|
|
|
virtual bool HasDetails() { return TRUE; }
|
|
virtual void OnDetails();
|
|
};
|
|
|
|
|
|
|
|
|
|
class PropEditCtrlFlags : public PropEditCtrlTxt
|
|
{
|
|
public:
|
|
PropEditCtrlFlags(PropertiesFrame *propFrame)
|
|
: PropEditCtrlTxt(propFrame) {}
|
|
|
|
virtual bool HasDetails() { return TRUE; }
|
|
virtual void OnDetails();
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|