Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2003-10-10 17:36:38 +0400
committerTon Roosendaal <ton@blender.org>2003-10-10 17:36:38 +0400
commit952cd8260eb20f42c3c23306c89b2eb68f5a112f (patch)
tree51dd5facbd4731348ea82e63501e9ede261353a7 /source/creator
parenta044f0bb2ec53c60c0fafc9d0e46c04199832a6b (diff)
- adapted startsize for osx version to match powerbook (768 high)
- add patch in prevsize routine (editscreen.c) to subtract apple top header, this allows 'fullscreen' with windowbar behind topbar.
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index c05af687274..b24631ffc64 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -30,6 +30,7 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include <stdlib.h>
+#include <string.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
@@ -204,7 +205,8 @@ int main(int argc, char **argv)
argc= 1;
- setprefsize(170, 100, 900, 768);
+ /* 40 + 684 + (headers) 22 + 22 = 768, the powerbook screen height */
+ setprefsize(120, 40, 850, 684);
winlay_get_screensize(&scr_x, &scr_y);
winlay_process_events(0);