> If u could explain me how does fl_draw() work, it may help me.
> As i have to understand the xpos and ypos in fl_draw().
> how does it work for center alignment.

OK - I don't know if we are going to be able to help you here: You don't
say what version of fltk you are using, but you refer to "GrText", so I
am guessing that you are trying to use Century Embedded Technologies'
Nano-X SDK. They use a modified version of fltk-1.0.7, I believe.

The current version of fltk is 1.1.9, and 1.0.7 is very old and is
unsupported. In addition, the changes made to support Nano-X are not
supported here either - they were specific to the Nano-X port.

You may be able to get support from Century Embedded Technologies, or
from the Nano-X newsgroups and mailing lists, but I don't think there is
anybody here with experience that is relevant to your setup.

Note that others, including some people on this list, are managing to
build and run fltk-1.1.9 (and, I think, the experimental fltk-1.3.x and
fltk-2 versions) on embedded hardware with little or no modification.

Indeed, much embedded hardware is perfectly capable of running a
"conventional" X-server these days, so the need for non-standard
cut-down versions such as Nano-X has largely gone away, making porting
and support much simpler.

So, if you can get your hardware to run fltk-1.1.9 (or for better UTF-8
support perhaps fltk-1.3.x or fltk-2) then we can probably help you out.
But while you are using Nano-X and fltk-1.0.7 your best hope is that
someone from the Nano-X community can give you the support that you
need.

As for fl_draw(), the implementation is in the source tree that you
have, so you may be best just picking through it to swee how it works -
I have no idea what, if any, changes have been made to support the
Nano-X and/or GrText mechanisms.






SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to