ultimatepp/uppsrc/CtrlCore/CocoCtrl.h
cxl bcd0b9c387 Developing Cocoa
git-svn-id: svn://ultimatepp.org/upp/trunk@12183 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-08-25 16:02:20 +00:00

25 lines
696 B
C

//$ class Ctrl {
private:
friend struct MMCtrl;
friend struct MMImp;
friend void DrawDragRect(Ctrl& q, const Rect& rect1, const Rect& rect2, const Rect& clip, int n,
Color color, int type, int animation);
friend void FinishDragRect(Ctrl& q);
static int WndCaretTime;
static bool WndCaretVisible;
static void AnimateCaret();
protected:
virtual void MMClose() {}
void Create(Ctrl *owner, dword style, bool active);
public:
static void EndSession() {}
static bool IsEndSession() { return false; }
void *GetNSWindow() const;
void *GetNSView() const;
//$ };