Editing Miniature/Development/Architecture

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 27: Line 27:
== Big Blocks Diagram ==
== Big Blocks Diagram ==
-
[[Image:Miniature_modules.png]]
+
[[Image:blocks.png]]
1. MPosition  is the centre block, represents a position on the board. Could be encoded as a FEN string  or as a 8x8 array with pieces enum'ed or as something else.
1. MPosition  is the centre block, represents a position on the board. Could be encoded as a FEN string  or as a 8x8 array with pieces enum'ed or as something else.
Line 40: Line 40:
6. MExtra and MExtraView - everything else not directly related to a chess - chat, ratings, pictures etc.
6. MExtra and MExtraView - everything else not directly related to a chess - chat, ratings, pictures etc.
-
 
Line 57: Line 56:
- If the move is not valid, the previous position is sent back to MBoardView, "Illegal move" dialog is displayed
- If the move is not valid, the previous position is sent back to MBoardView, "Illegal move" dialog is displayed
-
 
+
--[[User:boris_r|boris_r]] 17:28, 13 November 2009 (UTC)
-
 
+
-
* Arrows at the left side depict connection to an "outside", whatever "outside" can be. Details about connections, "outside" etc will be defined later. Examples - another player, chess server, adapter to a local chess engine. 
+
-
 
+
-
--[[User:boris_r|boris_r]] 00:57, 15 November 2009 (UTC)
+
== Current design in master branch ==
== Current design in master branch ==
The diagram shows classes and their associations. Furthermore, it shows signals and slots. The naming conventions should make clear which slot responds to which signal during runtime. The remaining public API has been left out, because it's all in a flux right now.
The diagram shows classes and their associations. Furthermore, it shows signals and slots. The naming conventions should make clear which slot responds to which signal during runtime. The remaining public API has been left out, because it's all in a flux right now.
[[Image:MiniatureArchClassDiagram.png|thumb]]
[[Image:MiniatureArchClassDiagram.png|thumb]]

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)

Templates used on this page: