Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[ALLY] Re: getting the screen-size Re:

From: carl:cybercraft at: 16-Aug-2000 18:11

On 16-Aug-00, [holger--rebol--com] wrote: [big snip]
> Bottom line: this is really a chicken-egg issue. (On some systems) > View needs to know the initial window size in order to create a > suitable screen, which assumes that the screen size follows the > window size. Yet on other systems the screen size is fixed, so the > window size has to follow the screen size. > For the moment I don't see any solution that works on all platforms. > I don't really like the idea of scripts getting fancy in the way > they check the screen size, trying to outsmart the View OS module, > because this is likely to limit cross-platform portability, and will > restrict us at REBOL in providing future enhancements.
[big snip 2] With screen sizes, how about having a list of user-defined ones in user.r which scripts can check through and select from before opening a new screen? This would require a system-specific settup routine of some description, but once done they could be left alone till the user felt the need to edit them. And perhaps the window border-widths and heights for each screen could also be worked out and stored at the same time as the screens? Carl Read.