Re: Explanation of what I'm looking for

Nicolas FRANCOIS <[email protected]> Wed, 18 Feb 2015 16:19:23 +0100
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
Maybe it's better if I explain what I want to do :

- etat is a record of everything about the bridge board I want to
  visualize,
- joueur is the name of the player I want to print the hand,
- visualisation_main is a class taking two arguments, j, the "joueur",
  and e, the "etat", and building a box containing the buttons for the
  cards. Each button can be selected to play the card it represents...

I will have one object of class visualisation_main for each player,
displayed in a grid like this :

*******************************************************
*                  *                 *                *
*                  *    North        *                *
*                  *      hand       *                *
*                  *                 *                *
*******************************************************
*                  *                 *                *
*     West         *                 *    East        *
*       hand       *                 *      hand      *
*                  *                 *                *
*******************************************************
*                  *                 *                *
*                  *    South        *                *
*                  *      hand       *                *
*                  *                 *                *
*******************************************************

Maybe I'm doing it all wrong.

I'm open to any suggestion :-)

\bye

-- 

Nicolas FRANCOIS                      |  /\ 
http://nicolas.francois.free.fr       | |__|
				      X--/\\
We are the Micro$oft.		        _\_V
Resistance is futile.		    
You will be assimilated.         darthvader penguin