Ardour  9.0-pre0-582-g084a23a80d
MouseCursors Class Reference

#include <mouse_cursors.h>

Public Member Functions

 MouseCursors ()
 
 ~MouseCursors ()
 
void set_cursor_set (const std::string &name)
 
std::string cursor_set () const
 
Gdk::Cursorfrom_gdk_cursor (GdkCursor *)
 

Static Public Member Functions

static bool is_invalid (Gdk::Cursor *c)
 
static Gdk::Cursorinvalid_cursor ()
 

Public Attributes

Gdk::Cursorcross_hair
 
Gdk::Cursorscissors
 
Gdk::Cursortrimmer
 
Gdk::Cursorright_side_trim
 
Gdk::Cursoranchored_right_side_trim
 
Gdk::Cursorleft_side_trim
 
Gdk::Cursoranchored_left_side_trim
 
Gdk::Cursorright_side_trim_left_only
 
Gdk::Cursorleft_side_trim_right_only
 
Gdk::Cursorfade_in
 
Gdk::Cursorfade_out
 
Gdk::Cursorselector
 
Gdk::Cursorgrabber
 
Gdk::Cursorgrabber_note
 
Gdk::Cursorzoom_in
 
Gdk::Cursorzoom_out
 
Gdk::Cursortime_fx
 
Gdk::Cursorfader
 
Gdk::Cursormidi_pencil
 
Gdk::Cursormidi_select
 
Gdk::Cursormidi_resize
 
Gdk::Cursormidi_erase
 
Gdk::Cursorup_down
 
Gdk::Cursorwait
 
Gdk::Cursortimebar
 
Gdk::Cursortransparent
 
Gdk::Cursorresize_left
 
Gdk::Cursorresize_top_left
 
Gdk::Cursorresize_top
 
Gdk::Cursorresize_top_right
 
Gdk::Cursorresize_right
 
Gdk::Cursorresize_bottom_right
 
Gdk::Cursorresize_bottom
 
Gdk::Cursorresize_bottom_left
 
Gdk::Cursormove
 
Gdk::Cursorexpand_left_right
 
Gdk::Cursorexpand_up_down
 

Private Member Functions

void drop_all ()
 
Gdk::Cursormake_cursor (const char *name, int hotspot_x=0, int hotspot_y=0)
 

Static Private Member Functions

static void create_invalid ()
 

Private Attributes

std::vector< Gdk::Cursor * > cursors
 
std::string _cursor_set
 

Static Private Attributes

static Gdk::Cursor_invalid
 

Detailed Description

Definition at line 33 of file mouse_cursors.h.

Constructor & Destructor Documentation

◆ MouseCursors()

MouseCursors::MouseCursors ( )

◆ ~MouseCursors()

MouseCursors::~MouseCursors ( )

Member Function Documentation

◆ create_invalid()

static void MouseCursors::create_invalid ( )
staticprivate

◆ cursor_set()

std::string MouseCursors::cursor_set ( ) const
inline

Definition at line 40 of file mouse_cursors.h.

◆ drop_all()

void MouseCursors::drop_all ( )
private

◆ from_gdk_cursor()

Gdk::Cursor* MouseCursors::from_gdk_cursor ( GdkCursor )

◆ invalid_cursor()

static Gdk::Cursor* MouseCursors::invalid_cursor ( )
inlinestatic

Definition at line 90 of file mouse_cursors.h.

◆ is_invalid()

static bool MouseCursors::is_invalid ( Gdk::Cursor c)
inlinestatic

Definition at line 89 of file mouse_cursors.h.

◆ make_cursor()

Gdk::Cursor* MouseCursors::make_cursor ( const char *  name,
int  hotspot_x = 0,
int  hotspot_y = 0 
)
private

◆ set_cursor_set()

void MouseCursors::set_cursor_set ( const std::string &  name)

Member Data Documentation

◆ _cursor_set

std::string MouseCursors::_cursor_set
private

Definition at line 94 of file mouse_cursors.h.

◆ _invalid

Gdk::Cursor* MouseCursors::_invalid
staticprivate

Definition at line 98 of file mouse_cursors.h.

◆ anchored_left_side_trim

Gdk::Cursor* MouseCursors::anchored_left_side_trim

Definition at line 50 of file mouse_cursors.h.

◆ anchored_right_side_trim

Gdk::Cursor* MouseCursors::anchored_right_side_trim

Definition at line 48 of file mouse_cursors.h.

◆ cross_hair

Gdk::Cursor* MouseCursors::cross_hair

Definition at line 44 of file mouse_cursors.h.

◆ cursors

std::vector<Gdk::Cursor*> MouseCursors::cursors
private

Definition at line 93 of file mouse_cursors.h.

◆ expand_left_right

Gdk::Cursor* MouseCursors::expand_left_right

Definition at line 79 of file mouse_cursors.h.

◆ expand_up_down

Gdk::Cursor* MouseCursors::expand_up_down

Definition at line 80 of file mouse_cursors.h.

◆ fade_in

Gdk::Cursor* MouseCursors::fade_in

Definition at line 53 of file mouse_cursors.h.

◆ fade_out

Gdk::Cursor* MouseCursors::fade_out

Definition at line 54 of file mouse_cursors.h.

◆ fader

Gdk::Cursor* MouseCursors::fader

Definition at line 61 of file mouse_cursors.h.

◆ grabber

Gdk::Cursor* MouseCursors::grabber

Definition at line 56 of file mouse_cursors.h.

◆ grabber_note

Gdk::Cursor* MouseCursors::grabber_note

Definition at line 57 of file mouse_cursors.h.

◆ left_side_trim

Gdk::Cursor* MouseCursors::left_side_trim

Definition at line 49 of file mouse_cursors.h.

◆ left_side_trim_right_only

Gdk::Cursor* MouseCursors::left_side_trim_right_only

Definition at line 52 of file mouse_cursors.h.

◆ midi_erase

Gdk::Cursor* MouseCursors::midi_erase

Definition at line 65 of file mouse_cursors.h.

◆ midi_pencil

Gdk::Cursor* MouseCursors::midi_pencil

Definition at line 62 of file mouse_cursors.h.

◆ midi_resize

Gdk::Cursor* MouseCursors::midi_resize

Definition at line 64 of file mouse_cursors.h.

◆ midi_select

Gdk::Cursor* MouseCursors::midi_select

Definition at line 63 of file mouse_cursors.h.

◆ move

Gdk::Cursor* MouseCursors::move

Definition at line 78 of file mouse_cursors.h.

◆ resize_bottom

Gdk::Cursor* MouseCursors::resize_bottom

Definition at line 76 of file mouse_cursors.h.

◆ resize_bottom_left

Gdk::Cursor* MouseCursors::resize_bottom_left

Definition at line 77 of file mouse_cursors.h.

◆ resize_bottom_right

Gdk::Cursor* MouseCursors::resize_bottom_right

Definition at line 75 of file mouse_cursors.h.

◆ resize_left

Gdk::Cursor* MouseCursors::resize_left

Definition at line 70 of file mouse_cursors.h.

◆ resize_right

Gdk::Cursor* MouseCursors::resize_right

Definition at line 74 of file mouse_cursors.h.

◆ resize_top

Gdk::Cursor* MouseCursors::resize_top

Definition at line 72 of file mouse_cursors.h.

◆ resize_top_left

Gdk::Cursor* MouseCursors::resize_top_left

Definition at line 71 of file mouse_cursors.h.

◆ resize_top_right

Gdk::Cursor* MouseCursors::resize_top_right

Definition at line 73 of file mouse_cursors.h.

◆ right_side_trim

Gdk::Cursor* MouseCursors::right_side_trim

Definition at line 47 of file mouse_cursors.h.

◆ right_side_trim_left_only

Gdk::Cursor* MouseCursors::right_side_trim_left_only

Definition at line 51 of file mouse_cursors.h.

◆ scissors

Gdk::Cursor* MouseCursors::scissors

Definition at line 45 of file mouse_cursors.h.

◆ selector

Gdk::Cursor* MouseCursors::selector

Definition at line 55 of file mouse_cursors.h.

◆ time_fx

Gdk::Cursor* MouseCursors::time_fx

Definition at line 60 of file mouse_cursors.h.

◆ timebar

Gdk::Cursor* MouseCursors::timebar

Definition at line 68 of file mouse_cursors.h.

◆ transparent

Gdk::Cursor* MouseCursors::transparent

Definition at line 69 of file mouse_cursors.h.

◆ trimmer

Gdk::Cursor* MouseCursors::trimmer

Definition at line 46 of file mouse_cursors.h.

◆ up_down

Gdk::Cursor* MouseCursors::up_down

Definition at line 66 of file mouse_cursors.h.

◆ wait

Gdk::Cursor* MouseCursors::wait

Definition at line 67 of file mouse_cursors.h.

◆ zoom_in

Gdk::Cursor* MouseCursors::zoom_in

Definition at line 58 of file mouse_cursors.h.

◆ zoom_out

Gdk::Cursor* MouseCursors::zoom_out

Definition at line 59 of file mouse_cursors.h.


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