diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2023-02-13 22:58:46 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2023-02-13 23:00:17 +0000 |
| commit | 5a0a2b9166a144b1775411a47060efa483e61971 (patch) | |
| tree | a9646213b03848e39b7ce8d1077600dd2b90ca14 | |
| parent | e8668dc883e940f0852ff4520abc3d30cae90aef (diff) | |
| download | puzzles-5a0a2b9166a144b1775411a47060efa483e61971.zip puzzles-5a0a2b9166a144b1775411a47060efa483e61971.tar.gz puzzles-5a0a2b9166a144b1775411a47060efa483e61971.tar.bz2 puzzles-5a0a2b9166a144b1775411a47060efa483e61971.tar.xz | |
Fix over-long lines in devel.but
Most of these are my fault anyway.
| -rw-r--r-- | devel.but | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1700,7 +1700,8 @@ frontends should use \cw{midend_request_keys()} \S{backend-current-key-label} \cw{current_key_label()} \c const char *(*current_key_label)(const game_ui *ui, -\c const game_state *state, int button); +\c const game_state *state, +\c int button); This function is called to ask the back-end how certain keys should be labelled on platforms (such a feature phones) where this is @@ -2920,7 +2921,8 @@ the front end. \S{drawing-print-get-colour} \cw{print_get_colour()} -\c void print_get_colour(drawing *dr, int colour, bool printing_in_colour, +\c void print_get_colour(drawing *dr, int colour, +\c bool printing_in_colour, \c int *hatch, float *r, float *g, float *b); This function is called by the implementations of the drawing API @@ -3022,7 +3024,8 @@ when finished with by passing it to the game's own \H{midend-size} \cw{midend_size()} -\c void midend_size(midend *me, int *x, int *y, bool user_size, double device_pixel_ratio); +\c void midend_size(midend *me, int *x, int *y, +\c bool user_size, double device_pixel_ratio); Tells the mid-end to figure out its window size. @@ -3181,7 +3184,8 @@ call to this function. Some back ends require that \cw{midend_size()} \H{midend-process-key} \cw{midend_process_key()} -\c bool midend_process_key(midend *me, int x, int y, int button, bool *handled); +\c bool midend_process_key(midend *me, int x, int y, int button, +\c bool *handled); The front end calls this function to report a mouse or keyboard event. The parameters \c{x} and \c{y} are identical to the ones passed to the |