summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-04-08 09:49:20 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-04-08 09:49:20 +0200
commit21d592ff721e50be3a74c7834b04aca3af41fd23 (patch)
tree31e89cead7066d979a9d9bed37fabbc1f8226354 /src
parentc7fe9c4b835b98148df18a6f0c8c7ce6e5d397f0 (diff)
change cursor while making screen dump
Diffstat (limited to 'src')
-rw-r--r--src/gipfel.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx
index d8ca0b9..d0c87bd 100644
--- a/src/gipfel.cxx
+++ b/src/gipfel.cxx
@@ -161,7 +161,9 @@ void save_cb() {
}
void dump_cb(Fl_Widget * o, void*) {
+ fl_cursor(FL_CURSOR_WAIT);
ScreenDump dmp(gipf); // needs to be done before fl_file_chooser()
+ fl_cursor(FL_CURSOR_DEFAULT);
char *file = fl_file_chooser("Save Screen Dump As?", "*.jpg", NULL);
if (file && confirm_overwrite(file)) {
JPEGOutputImage out(file, 95);