X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fmouse_cursors.cc;h=fa3ce331d660bcd28d272c6f4f2a86a5d6755951;hb=6ee23029a338951705c589be6c61ab52099758b6;hp=46beb8b47c1a5b6d57c2780a7a77a287a2ea88c6;hpb=ed626628b54e67dd9621c08d82a42afaed00c7ac;p=ardour.git diff --git a/gtk2_ardour/mouse_cursors.cc b/gtk2_ardour/mouse_cursors.cc index 46beb8b47c..fa3ce331d6 100644 --- a/gtk2_ardour/mouse_cursors.cc +++ b/gtk2_ardour/mouse_cursors.cc @@ -41,14 +41,14 @@ MouseCursors::MouseCursors () Color ffg ("#000000"); { - RefPtr source = Bitmap::create (fader_cursor_bits, fader_cursor_width, fader_cursor_height); - RefPtr mask = Bitmap::create (fader_cursor_mask_bits, fader_cursor_width, fader_cursor_height); + RefPtr source = Bitmap::create ((char const *) fader_cursor_bits, fader_cursor_width, fader_cursor_height); + RefPtr mask = Bitmap::create ((char const *) fader_cursor_mask_bits, fader_cursor_width, fader_cursor_height); fader = new Cursor (source, mask, ffg, fbg, fader_cursor_x_hot, fader_cursor_y_hot); } { - RefPtr source = Bitmap::create (speaker_cursor_bits, speaker_cursor_width, speaker_cursor_height); - RefPtr mask = Bitmap::create (speaker_cursor_mask_bits, speaker_cursor_width, speaker_cursor_height); + RefPtr source = Bitmap::create ((char const *) speaker_cursor_bits, speaker_cursor_width, speaker_cursor_height); + RefPtr mask = Bitmap::create ((char const *) speaker_cursor_mask_bits, speaker_cursor_width, speaker_cursor_height); speaker = new Cursor (source, mask, ffg, fbg, speaker_cursor_x_hot, speaker_cursor_y_hot); } @@ -169,7 +169,11 @@ MouseCursors::MouseCursors () expand_up_down = new Cursor (Display::get_default(), p, 4, 11); } - selector = new Cursor (XTERM); + { + RefPtr p (::get_icon ("i_beam_cursor")); + selector = new Cursor (Display::get_default(), p, 4, 11); + } + time_fx = new Cursor (SIZING); wait = new Cursor (WATCH); timebar = new Cursor(LEFT_PTR);