Adding "Wait" cursor in the cursor list, developpers can now use it where needed.

This commit is contained in:
Hombre
2011-06-30 18:31:34 +02:00
parent 64e5febd6a
commit 9f9cbba5a8
2 changed files with 5 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ void CursorManager::init (Glib::RefPtr<Gdk::Window> mainWin) {
cLeftTanMove = new Gdk::Cursor (Gdk::SB_LEFT_ARROW);
cRightTanMove = new Gdk::Cursor (Gdk::SB_RIGHT_ARROW);
cAdd = new Gdk::Cursor (Gdk::PLUS);
cWait = new Gdk::Cursor (Gdk::CLOCK);
Glib::RefPtr<Gdk::Pixbuf> hand = safe_create_from_file(argv0+"/images/openhand22.png");
Glib::RefPtr<Gdk::Pixbuf> close_hand = safe_create_from_file(argv0+"/images/closedhand22.png");
@@ -75,6 +76,8 @@ void CursorManager::setCursor (Glib::RefPtr<Gdk::Window> window, CursorShape sha
window->set_cursor (*cRightTanMove);
else if (shape==CSStraighten)
window->set_cursor (*cCropSelection);
else if (shape==CSWait)
window->set_cursor (*cWait);
else if (shape==CSPlus)
window->set_cursor (*cAdd);
else if (shape==CSEmpty)