mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
Change default window size to 800x600 across the board (incl runtime)
This commit is contained in:
parent
af18bfd18d
commit
40fff906d1
@ -319,7 +319,7 @@ elif deploy_mode == 'installer':
|
||||
del i
|
||||
|
||||
elif deploy_mode == 'html':
|
||||
w, h = tokens.get("width", 640), tokens.get("height", 480)
|
||||
w, h = tokens.get("width", 800), tokens.get("height", 600)
|
||||
if "data" not in tokens:
|
||||
tokens["data"] = appFilename.getBasename()
|
||||
|
||||
|
@ -226,8 +226,8 @@ run_command_line(int argc, char *argv[]) {
|
||||
// The user asked for an embedded window. Create a toplevel
|
||||
// window to be its parent, of the requested size.
|
||||
if (_win_width == 0 && _win_height == 0) {
|
||||
_win_width = 640;
|
||||
_win_height = 480;
|
||||
_win_width = 800;
|
||||
_win_height = 600;
|
||||
}
|
||||
|
||||
make_parent_window();
|
||||
|
@ -62,8 +62,8 @@ Panda3DBase(bool console_environment) {
|
||||
|
||||
_win_x = -1;
|
||||
_win_y = -1;
|
||||
_win_width = 640;
|
||||
_win_height = 480;
|
||||
_win_width = 800;
|
||||
_win_height = 600;
|
||||
_got_win_size = false;
|
||||
|
||||
_exit_with_last_instance = true;
|
||||
|
@ -301,7 +301,7 @@ ConfigVariableBool allow_incomplete_render
|
||||
"the frame render if necessary."));
|
||||
|
||||
ConfigVariableInt win_size
|
||||
("win-size", "640 480",
|
||||
("win-size", "800 600",
|
||||
PRC_DESC("This is the default size at which to open a new window. This "
|
||||
"replaces the deprecated win-width and win-height variables."));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user