home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wxos2233.zip
/
wxOS2-2_3_3.zip
/
wxWindows-2.3.3
/
contrib
/
utils
/
wxrcedit
/
pe_adv.h
< prev
next >
Wrap
C/C++ Source or Header
|
2002-09-08
|
2KB
|
102 lines
/////////////////////////////////////////////////////////////////////////////
// Purpose: XML resources editor
// Author: Vaclav Slavik
// Created: 2000/05/05
// RCS-ID: $Id: pe_adv.h,v 1.4 2002/09/07 12:15:24 GD Exp $
// Copyright: (c) 2000 Vaclav Slavik
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(__APPLE__)
#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();
};
class PropEditCtrlFile : public PropEditCtrlTxt
{
public:
PropEditCtrlFile(PropertiesFrame *propFrame)
: PropEditCtrlTxt(propFrame) {}
virtual bool HasDetails() { return TRUE; }
virtual void OnDetails();
virtual wxString GetFileTypes();
};
class PropEditCtrlImageFile : public PropEditCtrlFile
{
public:
PropEditCtrlImageFile(PropertiesFrame *propFrame)
: PropEditCtrlFile(propFrame) {}
virtual wxString GetFileTypes();
};
#endif