| 
    My Project
    
   | 
 
#include <ui.h>
Public Attributes | |
| Play | play [2] | 
| Book | book [1] | 
| struct GGSClient * | ggs | 
| bool | is_same_play | 
| int | type | 
| int | mode | 
| Event | event [1] | 
| void(* | init )(struct UI *) | 
| void(* | loop )(struct UI *) | 
| void(* | free )(struct UI *) | 
UI structure
| Book UI::book[1] | 
Opening book
| Event UI::event[1] | 
event
| void(* UI::free) (struct UI *) | 
free resources function
| struct GGSClient* UI::ggs | 
GGS Client
| void(* UI::init) (struct UI *) | 
init function
| bool UI::is_same_play | 
true if play[0] == play[1]
| void(* UI::loop) (struct UI *) | 
main loop function
| int UI::mode | 
computer's color mode TODO: remove me
| int UI::type | 
type of UI