More Info

Revision 888460

(Back to digest)
 

Features in Games

Sascha Peilicke committed changes in /trunk/playground/games/kigo:

Another big commit, the Kigo GUI moved from a per-screen based approach (with a GameScreen, SetupScreen, ErrorScreen) to a dockwidget based approach with several small widgets which are shown/hidden depending on the game state.

This way Kigo becomes a lot more customizable and expandable in the future.
It also concentrates all GUI-related code in the MainWindow class while the other GUI classes just implement additional logic (like showing SGF file information or a move history list).

The undo/redo support is now more feature-complete with a little dockwindow showing the move list.
I also added a little visual hint which is shown when the user is about to place his next stone.

Before that it wasn't always clear where a stone will be placed when the mouse is clicked, this should be more obvious now.
Last but not least the usual code refactorings and cleanups...

File Changes

Added 18 files
/trunk/playground/games/kigo
 
/experimental/screens
 
/src/gui/config
 
/src/gui/widgets
 
/src/gui/config/generalconfig.cpp
 
/src/gui/config/generalconfig.h
 
/src/gui/config/generalconfig.ui
 
/src/gui/widgets/editwidget.cpp
 
/src/gui/widgets/editwidget.h
 
/src/gui/widgets/editwidget.ui
 
/src/gui/widgets/gamewidget.cpp
 
/src/gui/widgets/gamewidget.h
 
/src/gui/widgets/gamewidget.ui
 
/src/gui/widgets/infowidget.cpp
 
/src/gui/widgets/infowidget.h
 
/src/gui/widgets/infowidget.ui
 
/src/gui/widgets/setupwidget.cpp
 
/src/gui/widgets/setupwidget.h
 
/src/gui/widgets/setupwidget.ui
Deleted 4 files
/trunk/playground/games/kigo/src/gui
 
/config.cpp
 
/config.h
 
/config.ui
 
/screens
Modified 14 files
/trunk/playground/games/kigo
 
/src/CMakeLists.txt
 
/src/kigo.kcfg
 
/src/main.cpp
 
/experimental/screens/gamescreen.h
 
/experimental/screens/setupscreen.h
 
/src/game/goengine.cpp
 
/src/game/goengine.h
 
/src/gui/kigoui.rc
 
/src/gui/mainwindow.cpp
 
/src/gui/mainwindow.h
 
/src/gui/graphicsview/gamescene.cpp
 
/src/gui/graphicsview/gamescene.h
 
/src/gui/graphicsview/gameview.h
 
/src/gui/graphicsview/themerenderer.h
36 files changed in total