moved input_methods to QEmacsState
qe_register_binding takes ModeDef* and returns status cosmetic changes in QEDisplay API added int dpy_init(QEditScreen *s, QEDisplay *dpy, int w, int h); copies *dpy (or dummy_dpy if NULL) to QEditScreen and calls method simplified dpy_init methods and calls inlined 5 more methods moved dummy_dpy to display.c and simplified simplified to_hex simplified qe_colors array handling
This commit is contained in:
parent
de952df347
commit
28397f424f
14 changed files with 256 additions and 304 deletions
2
image.c
2
image.c
|
|
@ -855,7 +855,7 @@ static int image_init(void)
|
|||
qe_register_cmd_table(image_commands, &image_mode);
|
||||
register_completion("pixel_format", pixel_format_completion);
|
||||
/* additional mode specific keys */
|
||||
qe_register_binding('f', "toggle-full-screen", "image");
|
||||
qe_register_binding('f', "toggle-full-screen", &image_mode);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue