29 #ifndef XPLRA_MESSAGEWINDOW_H
30 #define XPLRA_MESSAGEWINDOW_H
33 #include <hu/varadiistvan/scpl/Mutex.h>
37 #include <XPLMDataAccess.h>
38 #include <XPLMDisplay.h>
61 XPLMKeyFlags flags,
char virtualKey,
62 void* refCon,
int losingFocus);
68 XPLMMouseStatus mouse,
void* refCon);
227 hu::varadiistvan::scpl::Mutex
mutex;
278 void handleKey(
char key, XPLMKeyFlags flags,
char virtualKey,
void setNewMessage(const std::string &msg, float d)
static const int resizeArea
static void handleKeyCallback(XPLMWindowID windowID, char key, XPLMKeyFlags flags, char virtualKey, void *refCon, int losingFocus)
static constexpr float scrollTimeout
static void drawWindowCallback(XPLMWindowID windowID, void *refCon)
void handleKey(char key, XPLMKeyFlags flags, char virtualKey, bool losingFocus)
static const int verticalMarginSize
enum xplra::MessageWindow::@0 mouseMode
bool handleMouseClick(int x, int y, XPLMMouseStatus mouse)
hu::varadiistvan::scpl::Mutex mutex
std::string displayedMessage
void recalculateMaxMessageLength()
float getNewMessage(std::string &dest)
static const int horizontalMarginSize
static const int baseLineSize
static int handleMouseClickCallback(XPLMWindowID windowID, int x, int y, XPLMMouseStatus mouse, void *refCon)
static const int minimalWidth
XPLMDataRef heightDataRef
static constexpr float scrollInterval
Python client module for the X-Plane Remote Access plugin.