ultimatepp/uppdev/uppCanvas/main.hpp
cxl 4a1c627474 Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-15 08:36:24 +00:00

31 lines
623 B
C++

#ifndef _main_hpp_
#define _main_hpp_
#include <CtrlLib/CtrlLib.h>
#define LAYOUTFILE <uppCanvas/uppCanvas.lay>
#include <CtrlCore/lay.h>
#include <uppCanvas/Canvas.hpp>
struct App : public WithMainWinLayout<TopWindow> {
typedef App CLASSNAME;
Canvas canvas;
Button BtnClose;
Button BtnClearSheet;
Button BtnBGColor;
ColorPopUp colorPopUp;
App();
//UserEvents
void BtnClearSheetClick();
void BtnCloseClick();
void BtnBGColorClick();
void OnColorSelect();
//Callbacks for the canvas
void OnCanvasPaint(Draw& w);
void OnCanvasMouseLeft(Point p, dword keyflags);
};
#endif