mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 06:06:00 -06:00
41 lines
1 KiB
C++
41 lines
1 KiB
C++
#ifndef _ForlanoVega_OptionImage_h_
|
|
#define _ForlanoVega_OptionImage_h_
|
|
|
|
#include <CtrlLib/CtrlLib.h>
|
|
|
|
//#define IMAGECLASS Vega5Img //new
|
|
#define IMAGEFILE <Vega5/Vega.iml>
|
|
#include <Draw/iml_header.h>
|
|
|
|
|
|
class OptionImage : public Option {
|
|
void ReFocus();
|
|
protected:
|
|
Image imgYes, imgNo, imgMaybe;
|
|
public:
|
|
// Callback WhenChange;
|
|
virtual void Paint(Draw& draw);
|
|
OptionImage& SetImage(const Image& m1, const Image& m2, const Image& m3)
|
|
{ imgYes = m1; imgNo = m2; imgMaybe = m3; Refresh(); return *this; }
|
|
OptionImage& SetImage(const Image& m1, const Image& m2)
|
|
{ imgYes = m1; imgNo = m2; Refresh(); return *this; }
|
|
|
|
OptionImage& ThreeState(bool b = true) { threestate = b; notnull = false; return *this; }
|
|
|
|
// void OnChange() {WhenChange();}
|
|
typedef OptionImage CLASSNAME;
|
|
OptionImage();
|
|
~OptionImage(){;}
|
|
};
|
|
|
|
/*
|
|
class ArrayCtrlA : public ArrayCtrl {
|
|
|
|
public:
|
|
void mysync();
|
|
typedef ArrayCtrlA CLASSNAME;
|
|
ArrayCtrlA();
|
|
~ArrayCtrlA() {;}
|
|
};
|
|
*/
|
|
#endif
|