6 #include "../../crect.h" 7 #include "../iplatformframe.h" 19 virtual void onEvent () = 0;
26 virtual void onTimer () = 0;
33 virtual bool registerEventHandler (
int fd,
IEventHandler* handler) = 0;
34 virtual bool unregisterEventHandler (
IEventHandler* handler) = 0;
36 virtual bool registerTimer (uint64_t interval,
ITimerHandler* handler) = 0;
51 Frame (IPlatformFrameCallback* frame,
const CRect& size, uint32_t parent,
52 IPlatformFrameConfig* config);
55 bool getGlobalPosition (
CPoint& pos)
const override;
56 bool setSize (
const CRect& newSize)
override;
57 bool getSize (
CRect& size)
const override;
58 bool getCurrentMousePosition (
CPoint& mousePosition)
const override;
59 bool getCurrentMouseButtons (
CButtonState& buttons)
const override;
60 bool setMouseCursor (CCursorType type)
override;
61 bool invalidRect (
const CRect& rect)
override;
62 bool scrollRect (
const CRect& src,
const CPoint& distance)
override;
63 bool showTooltip (
const CRect& rect,
const char* utf8Text)
override;
64 bool hideTooltip ()
override;
65 void* getPlatformRepresentation ()
const override;
67 IPlatformTextEditCallback* textEdit)
override;
69 #if VSTGUI_OPENGL_SUPPORT 75 double scaleFactor)
override;
80 PlatformType getPlatformType ()
const override;
82 void onEvent ()
override;
84 void* getGtkWindow ();
87 std::unique_ptr<Impl> impl;
Definition: x11frame.h:16
Rect structure.
Definition: crect.h:17
Definition: vstguibase.h:299
Definition: x11frame.cpp:612
Encapsulates various platform depended kinds of bitmaps.
Definition: cbitmap.h:21
Definition: x11frame.h:23
Definition: customcontrols.cpp:8
Definition: x11frame.h:30
Definition: vstguibase.h:247
interface for drag&drop and clipboard data
Definition: idatapackage.h:15
Definition: x11frame.h:48
Point structure.
Definition: cpoint.h:17
Definition: x11frame.h:41