#25 Screen size

closed
Davis
None
5
2007-11-24
2007-11-20
Nils Labugt
No

It would be nice to have a way to obtain screen size. It would be useful for placing dialog boxes in the center of the screen instead of in the upper left corner. It would also be useful for adjusting the position of my pop-up menus to prevent them form popping up (partially) off screen.

Discussion

  • Davis

    Davis - 2007-11-20

    Logged In: YES
    user_id=1166290
    Originator: NO

    Indeed. I will look into this.

    Cheers,
    Davis

     
  • Davis

    Davis - 2007-11-20
    • assigned_to: nobody --> davisking
     
  • Davis

    Davis - 2007-11-24

    Logged In: YES
    user_id=1166290
    Originator: NO

    I just added this functionality into the base_window class via the get_display_size() function. The changes are now in subversion. Use the command "svn co https://dclib.svn.sourceforge.net/svnroot/dclib" to check them out.

    I ditched the davis.sytes.net server since it looks like it will be down for a while.

    Cheers,
    Davis

     
  • Davis

    Davis - 2007-11-24
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks