Re: [AD] non-static read-only font

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


From: Sven Sandberg <ssven@xxxxxxxxxx>
> I am writing an addon library that needs to access the default 8x8 font,
no
> matter if the user changes `font' to point to his own font (as the docs
> about `font' suggest you can do to change the look of the gui). Would it
be
> possible to add a new variable for this, which is just a copy of `font'
and
> which it would be officially bad behaviour to change (ie something like
the
> attached patches)?


Couldn't we just add a declaration for base_font to allegro.h?

--Chris

============================================================================
Chris La Mantia * chrislm@xxxxxxxxxx * http://home.earthlink.net/~chrislm
Current Project: Infinite Worlds, a CRPG with randomly generated worlds
More info at http://home.earthlink.net/~chrislm/infinite



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/