neoGFX
Cross-platform C++ app/game engine
|
#include <cursor.hpp>
Classes | |
struct | no_document |
Public Member Functions | |
define_event (PositionChanged, position_changed) define_event(AnchorChanged | |
cursor () | |
cursor (i_document &aDocument) | |
bool | has_document () const |
i_document & | document () const |
void | move (move_operation_e aMoveOperation) |
position_type | position () const |
void | set_position (position_type aPosition, bool aMoveAnchor=true) |
position_type | anchor () const |
void | set_anchor (position_type aAnchor) |
bool | anchored_over_entire_document () const |
const color_or_gradient & | color () const |
void | set_color (const color_or_gradient &aColor) |
cursor_style | style () const |
void | set_style (cursor_style aStyle) |
dimension | width () const |
void | set_width (dimension aWidth) |
std::chrono::milliseconds | flash_interval () const |
void | set_flash_interval (std::chrono::milliseconds aInterval) |
bool | visible () const |
bool | hidden () const |
void | show () |
void | hide () |
Public Attributes | |
anchor_changed define_event(AppearanceChanged, appearance_changed) public typedef std::size_t | position_type |
Definition at line 38 of file cursor.hpp.
neogfx::cursor::cursor | ( | ) |
neogfx::cursor::cursor | ( | i_document & | aDocument | ) |
position_type neogfx::cursor::anchor | ( | ) | const |
bool neogfx::cursor::anchored_over_entire_document | ( | ) | const |
const color_or_gradient & neogfx::cursor::color | ( | ) | const |
neogfx::cursor::define_event | ( | PositionChanged | , |
position_changed | |||
) |
i_document & neogfx::cursor::document | ( | ) | const |
std::chrono::milliseconds neogfx::cursor::flash_interval | ( | ) | const |
bool neogfx::cursor::has_document | ( | ) | const |
bool neogfx::cursor::hidden | ( | ) | const |
void neogfx::cursor::hide | ( | ) |
void neogfx::cursor::move | ( | move_operation_e | aMoveOperation | ) |
position_type neogfx::cursor::position | ( | ) | const |
void neogfx::cursor::set_anchor | ( | position_type | aAnchor | ) |
void neogfx::cursor::set_color | ( | const color_or_gradient & | aColor | ) |
void neogfx::cursor::set_flash_interval | ( | std::chrono::milliseconds | aInterval | ) |
void neogfx::cursor::set_position | ( | position_type | aPosition, |
bool | aMoveAnchor = true |
||
) |
void neogfx::cursor::set_style | ( | cursor_style | aStyle | ) |
void neogfx::cursor::set_width | ( | dimension | aWidth | ) |
void neogfx::cursor::show | ( | ) |
cursor_style neogfx::cursor::style | ( | ) | const |
bool neogfx::cursor::visible | ( | ) | const |
dimension neogfx::cursor::width | ( | ) | const |
anchor_changed define_event (AppearanceChanged, appearance_changed) public typedef std::size_t neogfx::cursor::position_type |
Definition at line 69 of file cursor.hpp.