Add option to specify the initial window size
Add --window-width and --window-height parameters. If only one is provided, the other is computed so that the aspect ratio is preserved.
This commit is contained in:
@@ -56,7 +56,8 @@ screen_init(struct screen *screen);
|
||||
bool
|
||||
screen_init_rendering(struct screen *screen, const char *window_title,
|
||||
struct size frame_size, bool always_on_top,
|
||||
int16_t window_x, int16_t window_y);
|
||||
int16_t window_x, int16_t window_y, uint16_t window_width,
|
||||
uint16_t window_height);
|
||||
|
||||
// show the window
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user