#include <CEventGraphics.hpp>
|
static CEventGraphics * | createEventFinish (IGraphics *graphicsRef) |
|
static CEventGraphics * | createEventKeyPulsed (uint16_t key, bool isShiftPressed, bool isControlPressed, bool isAltPressed, bool isEnterPressed, IGraphics *graphicsRef) |
|
static CEventGraphics * | createEventLongPulsation (double x, double y, double radius, IGraphics *graphicsRef) |
|
static CEventGraphics * | createEventMouse (double x, double y, double xRel, double yRel, double radius, CEventGraphics::EMouseEventType mouseEventType, CEventGraphics::EMouseButtonType buttonPulsed, IGraphics *graphicsRef) |
|
static CEventGraphics * | createEventSpecialKey (CDialogGraphics *dialog, CEventGraphics::ESpecialKey specialKey, IGraphics *graphicsRef) |
|
static CEventGraphics * | createEventOut (IGraphics *graphicsRef) |
|
static CEventGraphics * | createEventOutting (IGraphics *graphicsRef) |
|
static bool | isKey (char key, bool shiftPulsed, bool controlPulsed, bool altPulsed) |
|
◆ EDragType
Enumerator |
---|
NoDrag | |
Drag | |
Drop | |
◆ EMouseButtonType
Enumerator |
---|
None | |
Left | |
Right | |
◆ EMouseEventType
Enumerator |
---|
ButtonDown | |
ButtonUp | |
Motion | |
ButtonDownAndMotion | |
◆ EPrvEventType
Enumerator |
---|
Finish | |
Keyboard | |
Mouse | |
Out | |
Outting | |
◆ ESpecialKey
Enumerator |
---|
Backspace | |
Enter | |
◆ ~CEventGraphics()
CEventGraphics::~CEventGraphics |
( |
| ) |
|
|
virtualdefault |
◆ CEventGraphics()
CEventGraphics::CEventGraphics |
( |
| ) |
|
|
private |
◆ closeDialog()
void CEventGraphics::closeDialog |
( |
| ) |
|
◆ createEventFinish()
◆ createEventKeyPulsed()
CEventGraphics * CEventGraphics::createEventKeyPulsed |
( |
uint16_t | key, |
|
|
bool | isShiftPressed, |
|
|
bool | isControlPressed, |
|
|
bool | isAltPressed, |
|
|
bool | isEnterPressed, |
|
|
IGraphics * | graphicsRef ) |
|
static |
◆ createEventLongPulsation()
CEventGraphics * CEventGraphics::createEventLongPulsation |
( |
double | x, |
|
|
double | y, |
|
|
double | radius, |
|
|
IGraphics * | graphicsRef ) |
|
static |
◆ createEventMouse()
◆ createEventOut()
◆ createEventOutting()
◆ createEventSpecialKey()
◆ getButtonPulsed()
◆ getDialogFather()
◆ getDrag()
◆ getDxDyMouse()
void CEventGraphics::getDxDyMouse |
( |
double * | dx, |
|
|
double * | dy ) const |
◆ getGraphics()
◆ getPosMouse()
void CEventGraphics::getPosMouse |
( |
double * | xPos, |
|
|
double * | yPos, |
|
|
double * | radius ) const |
◆ getTypeEventMouse()
◆ hasFocus()
◆ isBackspace()
bool CEventGraphics::isBackspace |
( |
| ) |
const |
|
nodiscard |
◆ isConsumed()
◆ isDrag()
bool CEventGraphics::isDrag |
( |
| ) |
const |
|
nodiscard |
◆ isEnter()
bool CEventGraphics::isEnter |
( |
| ) |
const |
|
nodiscard |
◆ isEventDragMouse()
bool CEventGraphics::isEventDragMouse |
( |
| ) |
const |
|
nodiscard |
◆ isEventFinish()
bool CEventGraphics::isEventFinish |
( |
| ) |
const |
|
nodiscard |
◆ isEventKey()
bool CEventGraphics::isEventKey |
( |
| ) |
const |
|
nodiscard |
◆ isEventMouse()
bool CEventGraphics::isEventMouse |
( |
| ) |
const |
|
nodiscard |
◆ isEventOutting()
bool CEventGraphics::isEventOutting |
( |
| ) |
const |
|
nodiscard |
◆ isKey()
bool CEventGraphics::isKey |
( |
char | key, |
|
|
bool | shiftPulsed, |
|
|
bool | controlPulsed, |
|
|
bool | altPulsed ) |
|
static |
◆ isKeyEscape()
bool CEventGraphics::isKeyEscape |
( |
| ) |
const |
|
nodiscard |
◆ isKeyVisible()
bool CEventGraphics::isKeyVisible |
( |
char * | key | ) |
const |
◆ isLongPulsation()
bool CEventGraphics::isLongPulsation |
( |
| ) |
const |
|
nodiscard |
◆ isPulsedButtonLeft()
bool CEventGraphics::isPulsedButtonLeft |
( |
| ) |
const |
|
nodiscard |
◆ isPulsedButtonLeftWithMotion()
bool CEventGraphics::isPulsedButtonLeftWithMotion |
( |
| ) |
const |
|
nodiscard |
◆ isStartedFromDialog()
bool CEventGraphics::isStartedFromDialog |
( |
| ) |
const |
|
nodiscard |
◆ operator=()
◆ processDrag()
void CEventGraphics::processDrag |
( |
const CEventGraphics * | previousEventOpt | ) |
|
◆ prvIsKey()
bool CEventGraphics::prvIsKey |
( |
char | key | ) |
const |
|
nodiscardprivate |
◆ prvProcessDrag()
◆ prvTxtButtonPulsed()
std::string CEventGraphics::prvTxtButtonPulsed |
( |
| ) |
const |
|
nodiscardprivate |
◆ prvTxtDragAndDrop()
std::string CEventGraphics::prvTxtDragAndDrop |
( |
| ) |
const |
|
nodiscardprivate |
◆ prvTxtTypeEventMouse()
std::string CEventGraphics::prvTxtTypeEventMouse |
( |
| ) |
const |
|
nodiscardprivate |
◆ setDialogFather()
◆ setEventConsumed()
◆ setFocus()
◆ setIsStartedFromDialog()
void CEventGraphics::setIsStartedFromDialog |
( |
bool | isStartedFromDialog | ) |
|
◆ toString()
std::string CEventGraphics::toString |
( |
| ) |
const |
|
nodiscard |
◆ kPrvBackspace
const char CEventGraphics::kPrvBackspace = 8 |
|
static |
◆ kPrvEnter
const char CEventGraphics::kPrvEnter = 13 |
|
static |
◆ kPrvEscape
const char CEventGraphics::kPrvEscape = 27 |
|
static |
◆ m_compConsumedRef
◆ m_compFocusRef
◆ m_dialog
◆ m_eventType
◆ m_graphicsRef
◆ m_isConsumed
bool CEventGraphics::m_isConsumed |
|
private |
◆ m_isStartedFromDialog
bool CEventGraphics::m_isStartedFromDialog {false} |
|
private |
◆ m_keyboard
◆ m_mouse
The documentation for this class was generated from the following files: