Results 1 to 4 of 4

Thread: Window coordinates

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2001
    Posts
    7

    Window coordinates

    Hi to all, please help me on this one:
    How can I have my opengl aplication opening the window allways in the exact location that I've previously closed it?
    Thanks,
    Pedro

  2. #2
    Member Newbie
    Join Date
    May 2001
    Posts
    39

    Re: Window coordinates

    This isn't bussines of OpenGL, it's of Windows System

  3. #3
    Junior Member Newbie
    Join Date
    Apr 2001
    Posts
    7

    Re: Window coordinates

    Originally posted by Boresight:
    This isn't bussines of OpenGL, it's of Windows System
    So, how do I implement it on my OPENGL APLICATION?
    Pedro

  4. #4
    Member Contributor bsperlin's Avatar
    Join Date
    Feb 2001
    Location
    VA
    Posts
    67

    Re: Window coordinates

    When you pass thru main, your glutInitWindowSize and glutInitWindowPosition could be set with globals that can be used later to set windows where you want them to be, or initialize globals to just the values you want and use them in main and elsewhere.

Similar Threads

  1. Returning from the Window Coordinates to Object Coordinates
    By tiregarfio in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 09-19-2006, 09:31 AM
  2. converting window coordinates to world coordinates
    By pwonder in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 09-26-2004, 12:51 PM
  3. Replies: 4
    Last Post: 05-24-2004, 09:03 AM
  4. Problems mapping 2d window coordinates to 3d system coordinates
    By stefboombastic in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 01-04-2003, 01:11 AM
  5. convert window coordinates to OpenGL coordinates
    By grodslukaren in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 07-02-2001, 11:30 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