Results 1 to 6 of 6

Thread: Finding screen dimensions

  1. #1
    Senior Member Regular Contributor
    Join Date
    Mar 2005
    Posts
    115

    Finding screen dimensions

    Hi,

    Im using the glut utility kit and in my program i can switch from fullscreent to windowed mode, but i dnt use the gamemode feature. My problem is that i use the mouse in the program and i need to be able to find the dimensions of the screen when going into fullscreen mode to get the mouse in the right spot.

    All responses are greatly apreciated

  2. #2
    Senior Member Regular Contributor
    Join Date
    Aug 2005
    Posts
    145

    Re: Finding screen dimensions

    but i dnt use the gamemode feature
    Why not, and what did you use?

  3. #3
    Senior Member Regular Contributor
    Join Date
    Mar 2005
    Posts
    115

    Re: Finding screen dimensions

    I don't use the game mode feature because I have not quite gotten a handle on all the commands to use it. I've used it before and I couldn't figure out how to get my program back into window mode. I am using the "glutFullscreen();" command to place my program into fullscreen mode.

  4. #4
    Senior Member Frequent Contributor
    Join Date
    Aug 2004
    Location
    munich, germany
    Posts
    659

    Re: Finding screen dimensions


  5. #5
    Senior Member Regular Contributor
    Join Date
    Mar 2005
    Posts
    115

    Re: Finding screen dimensions

    thanks a ton Rigid body

  6. #6
    Senior Member Regular Contributor
    Join Date
    Aug 2005
    Posts
    145

    Re: Finding screen dimensions


Similar Threads

  1. API for finding screen size
    By freddie in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 06-15-2008, 12:48 PM
  2. Finding depth from a 2d screen point
    By disarm72 in forum OpenGL: General
    Replies: 11
    Last Post: 01-26-2005, 10:09 PM
  3. Finding the edges of the screen
    By Ping-Pong in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 03-28-2003, 06:33 PM
  4. Replies: 5
    Last Post: 07-15-2002, 10:48 PM
  5. Finding the screen coords of a 3D point?
    By lwenke in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 05-07-2000, 01:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean