game project
| Thu, 2007-12-20 00:32 | |
|
hi, currently I am working on a Tic Tac Toe game which is planed to run on SOS S/60 I have made it in c++ and Java previously. can any body help me how I implement the graphical part(like which components to use)? I want to map the phones 1to 9 keys to the 9 boxes of the tic tac toe so that if a user press 1 that means he/she want to mark in the 1st box. rgds |
|






Forum posts: 1134
I would create a tic tac toe control.
deriving from CCoeControl, and in the "Draw" function draw whatever state it is in, through the CWindowGc
Give it a few methods to change the state (settickat or whatever), and then call DrawNow on the control to redraw it.
(after adding it to the framework... You should be able to modify the hello world example, extending the ccoecontrol in it that is the view.)