Crystal Space
Welcome, Guest. Please login or register.
September 30, 2014, 11:27:55 pm

Login with username, password and session length
Search:     Advanced search
9020 Posts in 2053 Topics by 8556 Members
Latest Member: Boshyeng
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  General Crystal Space Discussion
| | |-+  How maximize application window?
« previous next »
Pages: [1] Print
Author Topic: How maximize application window?  (Read 3591 times)
raq77
Newbie
*
Posts: 41


View Profile Email
« on: April 08, 2008, 04:08:40 pm »

Is it possible that the application window has initially the size of the screen without having to press the button to maximize? Somebody can tell me, how?

Thanks in advance. Raquel
Logged
bookeater2
Newbie
*
Posts: 45


View Profile Email
« Reply #1 on: April 08, 2008, 05:03:55 pm »

there are functions in the API Docs that can change the screen size or change to full screen, at least that how I understood it. To change to the exact screen size when peope may have different screens I'm not sure, but if you can figure how to fetch the screen, not window, resolution that may do it.
Logged
raq77
Newbie
*
Posts: 41


View Profile Email
« Reply #2 on: April 09, 2008, 05:48:17 pm »

Can you say me where are this functions? 

Thanks. Raquel
Logged
Vincent
Full Member
***
Posts: 191


View Profile WWW
« Reply #3 on: April 13, 2008, 10:06:36 pm »

Can you say me where are this functions? 

Hello,

  those would be the ones accessible through iGraphics2D interface,
namely: iGraphics2D::SetFullscreen() and iGraphics2D::ResizeCanvas().
It could be that you need to restart the application for those change to be really effective.
  In that case, you'll want to update/set one or more of these configuration key-value pairs in your application configuration file:
Video.ScreenWidth = 800
Video.ScreenHeight = 600
Video.FullScreen = no
Easy application restart is a feature of csApplicationFramework; to change config files, you can/should use csConfigAccess, problably like it's used in CS/apps/tutorial/simpvs/simpvs.cpp
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 5.255 seconds with 17 queries.