<div>Deepak,<br></div><div><br></div><div>Can you be more specific in what you&#39;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&#39;re working on a menu like the ones in the games, there is a pretty specific order to do things. IIRC, it&#39;s something like: </div>
<div><br></div><div>-load menus</div><div>-render menus</div><div>-set up custom stuff like sprites</div><div>-register callbacks</div><div>-call T4K_RunMenu(), starting an event loop</div><div><br></div><div>Best example of &quot;proper&quot; usage would be in TuxMath&#39;s menu code, which is mostly in menu.c, if I&#39;m not mistaken. </div>
<div><br></div><div>HTH,</div><div>Brendan</div><br><div class="gmail_quote">On Fri, Mar 18, 2011 at 2:06 PM, deepak aggarwal <span dir="ltr">&lt;<a href="mailto:deepak.aggarwal9@gmail.com">deepak.aggarwal9@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi<br>
I am working on new server code and designing a UI so that i can<br>
further work on it.<br>
My problem is that i am able to understand all the function present in<br>
common libraries but struggling to find correct order in which they<br>
should be called to that i can make a functional UI.<br>
Could someone please describe me or rather tell me in what order these<br>
functions should be called.<br>
It will be great if someone can send a small program to show how they are used.<br>
<br>
_______________________________________________<br>
Tux4kids-discuss mailing list<br>
<a href="mailto:Tux4kids-discuss@lists.alioth.debian.org">Tux4kids-discuss@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/tux4kids-discuss" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/tux4kids-discuss</a><br>
</blockquote></div><br>