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 wroteI'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
Show quoted text 7 lines
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 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.