[Tux4kids-discuss] Problem in using t4k_common library

Brendan Luchen cheezmeister at gmail.com
Sun Mar 20 00:13:56 UTC 2011


Deepak,

Can you be more specific in what you're trying to do? Is this for an admin
program, or a UI to help you in developing the game server, or something
else? If you're working on a menu like the ones in the games, there is a
pretty specific order to do things. IIRC, it's something like:

-load menus
-render menus
-set up custom stuff like sprites
-register callbacks
-call T4K_RunMenu(), starting an event loop

Best example of "proper" usage would be in TuxMath's menu code, which is
mostly in menu.c, if I'm not mistaken.

HTH,
Brendan

On Fri, Mar 18, 2011 at 2:06 PM, deepak aggarwal <deepak.aggarwal9 at gmail.com
> wrote:

> Hi
> I am working on new server code and designing a UI so that i can
> further work on it.
> My problem is that i am able to understand all the function present in
> common libraries but struggling to find correct order in which they
> should be called to that i can make a functional UI.
> Could someone please describe me or rather tell me in what order these
> functions should be called.
> It will be great if someone can send a small program to show how they are
> used.
>
> _______________________________________________
> Tux4kids-discuss mailing list
> Tux4kids-discuss at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/tux4kids-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/tux4kids-discuss/attachments/20110319/eb84c407/attachment.htm>


More information about the Tux4kids-discuss mailing list