Molybden API
Loading...
Searching...
No Matches
molybden::MousePressed Struct Reference

An event indicating that the mouse button has been pressed. More...

#include <input_events.hpp>

Inheritance diagram for molybden::MousePressed:
molybden::MouseEvent

Public Member Functions

 MousePressed (Point location, Point location_on_screen, MouseButton button, KeyModifiers key_modifiers, MouseModifiers mouse_modifiers)
 

Public Attributes

MouseButton mouse_button
 The pressed mouse button.
 
KeyModifiers key_modifiers
 The keyboard modifiers applied.
 
MouseModifiers mouse_modifiers
 The mouse modifiers applied.
 
uint32_t click_count
 The count of consecutive clicks that happened in a short amount of time.
 
- Public Attributes inherited from molybden::MouseEvent
Point location
 The mouse position inside the browser view.
 
Point location_on_screen
 The mouse position on the screen where the browser view is located.
 

Additional Inherited Members

- Protected Member Functions inherited from molybden::MouseEvent
 MouseEvent (Point location, Point location_on_screen)
 

Detailed Description

An event indicating that the mouse button has been pressed.


The documentation for this struct was generated from the following file: