mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 12:39:24 -05:00
Feature/cleanup (#1608)
* Revert screenlog back to showing Info and above messages * Various code cleanup
This commit is contained in:
@@ -79,19 +79,16 @@ private:
|
||||
|
||||
/**
|
||||
* Create a mouse event on the current cursor position.
|
||||
*
|
||||
* \return
|
||||
*/
|
||||
CefMouseEvent mouseEvent(KeyModifier mods = KeyModifier::NoModifier);
|
||||
|
||||
#ifdef WIN32
|
||||
/**
|
||||
* Build a CEF touch event based on our internal structure
|
||||
* Build a CEF touch event based on our internal structure.
|
||||
*
|
||||
* Note: as of 02/21/2020 we are using an older version of CEF on OSX
|
||||
* than WIN32.
|
||||
* This version does not handle the CefTouchEvent type and does
|
||||
* not have any internal touch handling.
|
||||
* Note: As of 2020-02-21 we are using an older version of CEF on OSX than WIN32. This
|
||||
* version does not handle the CefTouchEvent type and does not have any internal
|
||||
* touch handling
|
||||
*/
|
||||
CefTouchEvent touchEvent(const TouchInput& input,
|
||||
const cef_touch_event_type_t eventType) const;
|
||||
@@ -117,12 +114,11 @@ private:
|
||||
MouseButtonState _leftButton;
|
||||
MouseButtonState _rightButton;
|
||||
|
||||
//This vector assumes first element to be the active one:
|
||||
// This vector assumes first element to be the active one:
|
||||
std::vector<TouchInput> _validTouchStates;
|
||||
|
||||
/**
|
||||
* determines if a click should be sent as a double click or not
|
||||
* @return
|
||||
* Determines if a click should be sent as a double click or not
|
||||
*/
|
||||
bool isDoubleClick(const MouseButtonState& button) const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user