aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-05-31 08:50:42 +0000
committerSimon Tatham <anakin@pobox.com>2005-05-31 08:50:42 +0000
commit2698fc9e9e29b9ef5578bf79bd4059616d9667d8 (patch)
tree3ca0fa043a3e6769365ab518837bf48b0d39186a /puzzles.h
parentee429c13cd91a43609eb4688c7a20b5c5056662f (diff)
downloadpuzzles-2698fc9e9e29b9ef5578bf79bd4059616d9667d8.zip
puzzles-2698fc9e9e29b9ef5578bf79bd4059616d9667d8.tar.gz
puzzles-2698fc9e9e29b9ef5578bf79bd4059616d9667d8.tar.bz2
puzzles-2698fc9e9e29b9ef5578bf79bd4059616d9667d8.tar.xz
GTK misfires timers at inconvenient moments, sometimes causing a new
puzzle of a different size to be redrawn before the pixmap is resized, and since backends never redraw already-drawn stuff this is a problem. Was biting me when I entered a Mines game ID of a different size than the current settings into the Specific box. [originally from svn r5872]
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/puzzles.h b/puzzles.h
index 4ee718e..bf441c6 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -131,6 +131,7 @@ void midend_size(midend_data *me, int *x, int *y);
void midend_new_game(midend_data *me);
void midend_restart_game(midend_data *me);
int midend_process_key(midend_data *me, int x, int y, int button);
+void midend_force_redraw(midend_data *me);
void midend_redraw(midend_data *me);
float *midend_colours(midend_data *me, int *ncolours);
void midend_timer(midend_data *me, float tplus);