mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-24 06:12:35 -06:00
34 lines
1,013 B
C
34 lines
1,013 B
C
//$ class Upp::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 bool local_dnd_copy;
|
|
static void AnimateCaret();
|
|
static Ptr<Ctrl> lastActive;
|
|
|
|
friend void CocoInit(int argc, const char **argv, const char **envptr);
|
|
|
|
protected:
|
|
virtual void MMClose() {}
|
|
|
|
void Create(Ctrl *owner, dword style, bool active);
|
|
static void SetNSAppImage(const Image& img);
|
|
static void SyncAppIcon();
|
|
static void ResetCocoaMouse();
|
|
|
|
public:
|
|
static void EndSession() {}
|
|
static bool IsEndSession() { return false; }
|
|
|
|
void *GetNSWindow() const;
|
|
void *GetNSView() const;
|
|
|
|
void RegisterCocoaDropFormats();
|
|
//$ };
|