adds comment on pawn placement

This commit is contained in:
2019-06-07 15:36:11 +02:00
parent de02b27949
commit 96b6c523d7

View File

@@ -46,6 +46,13 @@ impl AsRef<gtk::EventBox> for Cell {
} }
} }
/// The cell widget is either empty or has a pawn
/// Pawn can be moved around cells using drag-n-drop. However, due to my inability
/// to dynamically change the behavior with set/unset methods, all cells are always
/// drag and drop at once.
/// It is usable though, just weird. When you grab an empty cell you'll make a button appear.
/// Know that if you drop a cell on itself, it will empty itself !
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
struct CellWidget { struct CellWidget {
eventbox: gtk::EventBox, eventbox: gtk::EventBox,