1. Fonts?
I am attempting to implement font and cursor selection in GraphApp.
These are defined in GraphApp.h as follows:
-- Library supplied variables.
extern font SystemFont; /* system font */
extern font FixedFont; /* fixed-width font */
extern font Times; /* times roman font (serif) */
etc...
extern cursor ArrowCursor; /* normal arrow cursor */
extern cursor BlankCursor; /* invisible cursor */
extern cursor WatchCursor; /* wait for the computer */
etc...
These presumably are pointers to data structures somewhere which contain the
font or cursor data. How can I include these in my Euphoria wrapper?
Thanks,
Irv
2. Re: Fonts?
- Posted by Robert Craig <rds at ATTCANADA.NET>
Aug 01, 1999
-
Last edited Aug 02, 1999
Irv Mullins writes:
> extern cursor WatchCursor; /* wait for the computer */
> etc...
> These presumably are pointers to data structures
> somewhere which contain the font or cursor data.
> How can I include these in my Euphoria wrapper?
You'll need to know the memory address of these
variables. I'll add a new routine for Linux and WIN32,
that will return the address of a global C variable
in a shared library. For some reason this is rarely
needed in WIN32. It will be available within a couple of
weeks.
Regards,
Rob Craig
Rapid Deployment Software
http://members.aol.com/FilesEu/