Talk:GUI/Getting Started

From TDN

It would be good to have a tips and tricks section for the GUI, specifically for the content creation in terms of art and tricks with the profiles. For example, I'd like to write a little thing about how to setup your profiles to have invisle buttons that use text (with a specific font) for the menu, so they look like normal text (but are buttons - aha!). This would be a good tip for some.

how to change refresh rate

in platformWin32\winOGLVideo.cc on or around line 790:

devMode.dmPelsWidth = newRes.w;
devMode.dmPelsHeight = newRes.h;
devMode.dmBitsPerPel = newRes.bpp;
// set the display frequency (refresh rate)
devMode.dmDisplayFrequency = 85;
// notify the devmode that displayfrequency has been set
devMode.dmFields = DM_PELSWIDTH | DM_PELSHEIGHT | DM_BITSPERPEL | DM_DISPLAYFREQUENCY;

This will set the refresh rate to 85. In my version I appended an additional param to the $Pref::Video::Resolution attribute in the prefs.cs script:

$Pref::Video::Resolution = "800 600 32 85";

By : Donny Alumbaugh