[[lazarus] Troubles implementing TScreen]

Michal Bukovjan mbukovjan at netscape.net
Tue Feb 29 05:41:18 EST 2000


I thought that Screen/TScreen is partially implemented now, at least Width,
Height, and PixelsPerInch.

Anyway, should you want to extend the TScreen, I suggest you look at extending
TScreenInfo / ScreenInfo in Graphics.pp unit, extend appropriate message
LM_SCREENINIT, which gets values you need, and map these into TScreen.

Michal Bukovjan

Hongli Lai <hongli at telekabel.nl> wrote:
> I'm trying to implement TScreen, but I encountered a problem.
> Lazarus is designed to be platform and widget independend.
> But when I try to implement TScreen.Height and TScreen.Width, I need to
access
> GDK functions. I can also access Xlib functions, but X is not available in
> Win32 and some others OSses. What shall I do?
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus


____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.






More information about the Lazarus mailing list