ScreenRes help

General FreeBASIC programming questions.
Post Reply
MythGuyDK
Posts: 22
Joined: Sep 21, 2006 20:01

ScreenRes help

Post by MythGuyDK »

It's not so much help with ScreenRes as it is with this:
FreeBASIC Manual wrote:SCREENRES width, height[, depth[, num_pages[, flags[, refresh_rate]]]]
I don't understand what 'depth' and 'flags' do.

help please
Imortis
Moderator
Posts: 1925
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Post by Imortis »

Depth is your color depth:
8
15
16
24
33

Flags is thing like full screen and others FBGFX flags.
Skyler
Posts: 242
Joined: Sep 26, 2006 16:30

Post by Skyler »

Flags are numbers which indicate to the sub that a certain option is wanted.

Color depth is the level of description about the color. The higher the color depth, the more description is possible, and the more precise it can be.
MythGuyDK
Posts: 22
Joined: Sep 21, 2006 20:01

Post by MythGuyDK »

Thank you. This has been very helpful.
Deleter
Posts: 975
Joined: Jun 22, 2005 22:33

Post by Deleter »

fyi its 32 not 33 ;)
Imortis
Moderator
Posts: 1925
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Post by Imortis »

Don't pay attention to that. It's just the magical typo beast. I really did mean 32. I swear!
Post Reply