diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-01 17:25:27 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-01 17:25:27 +0100 |
| commit | 31c332da9ab426daa73b68772d0ef9c1b0744a50 (patch) | |
| tree | 4e85d9a2a4b18d97e6bed242181e85f015be9e09 /README.md | |
| parent | 3271972f9eef3069bf80de8be4c057102fff1138 (diff) | |
Decouple editor event from the Draw class
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,19 +1,21 @@ [](https://www.gnu.org/licenses/lgpl-3.0) # cgeditor: Chess Game Editor -cgeditor is a dependency-free chess game editor library written in C++. It can be used with any library that provides 2D canvas drawing and mouse inputs features. +cgeditor is a dependency-free chess game editor library written in C++. It can be used with any library that provides 2D canvas drawing and mouse/keyboard events. # Features -- Show move,move number, variations, NAGs, comments etc. -- *Delete*, *Promote* and *Set as main line* features +- Show move, move number, variations, NAGs, comments etc. +- *Delete*, *Promote* and *Set as main line* menu entries - Handle pieces icons - Its graphical appareance is entirely customizable # Architecture -To run cgeditor you need to extend 2 classes: +To run cgeditor 2 classes need to be extended: - CGEditor (To draw and handle events) - CGEHalfMove (The data structure displayed by the editor) +See example for more informations. + # Example An example based on *wxWidgets* is available in the `examples/` folder:  |
