comp.lang.ada
 help / color / mirror / Atom feed
From: Patrick <patrick@spellingbeewinnars.org>
Subject: Re: How to get the screen size?
Date: Sat, 6 Apr 2013 11:04:25 -0700 (PDT)
Date: 2013-04-06T11:04:25-07:00	[thread overview]
Message-ID: <e213f14f-41d7-40e3-8d8a-1db7e14b014d@googlegroups.com> (raw)
In-Reply-To: <c2644067-67d8-4356-93d6-079e0c2c0fd4@googlegroups.com>

On Saturday, April 6, 2013 1:35:54 PM UTC-4, tolkamp wrote:
> To make my ada application program suitable for more monitor sizes, I need the Screen Size. Where the size is the number of pixels.
> 
> Is there a function or procedure to get the screen width and height?

There are multiple ways to do this. Are you in a browser, under Ncurses or inside a GUI? You can also get this directly from X assuming your not on Windows

-Patrick


  parent reply	other threads:[~2013-04-06 18:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-06 17:35 How to get the screen size? tolkamp
2013-04-06 17:56 ` tmoran
2013-04-06 18:04 ` Patrick [this message]
2013-04-07  9:38 ` tolkamp
2013-04-07 10:00   ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox