History log of /haiku/src/apps/sudoku/SudokuView.h
Revision Date Author Comments
# 5ab027fd 21-Oct-2015 Axel Dörfler <axeld@pinc-software.de>

Sudoku: use the layout API.

* This removes the CenteredViewContainer class, as it is no longer
being used.
* However, it also removes its functionality, ie. the Sudoku view now
fills the complete window (even without any borders), again.


# aeb121ec 13-Jan-2015 Axel Dörfler <axeld@pinc-software.de>

Sudoku: consolidated set value code paths.

* Renamed _ToggleValue() to _SetValue(), and only let it do that.
* It's now called from _InsertKey(), and _SolveSingle() as well which
results in a correct visual update (ie. completed values, and the
value hints are updated correctly).
* _SolveSingle() would also not test for a completed game.


# e3debc9e 08-Jan-2015 Axel Dörfler <axeld@pinc-software.de>

Sudoku: remove hints when setting a value.

* When you set a value, all then superfluous hints are removed
automatically now.


# fc64ef86 08-Jan-2015 Axel Dörfler <axeld@pinc-software.de>

Sudoku: reordered SudokuView's methods.

* Their declaration order now matches their implementation order.


# 50e33476 08-Jan-2015 Axel Dörfler <axeld@pinc-software.de>

Sudoku: minor refactoring.

* Pulled _Toggle[Hint]Value() methods out of MouseDown().


# 7ccbecc0 29-Dec-2014 Axel Dörfler <axeld@pinc-software.de>

Sudoku: added "set all hints" help item.

* Sets all the hints for all the fields.


# 332cc6bc 30-Nov-2012 Axel Dörfler <axeld@pinc-software.de>

64 bit fixes for libmedia.so, ActivityMonitor, and Sudoku.

* Alex, I feel your pain :-)


# 2996f648 05-Jun-2012 Axel Dörfler <axeld@pinc-software.de>

Implemented a value hint, changed colors.

* When you press on a value, that value will be shown with a
highlighted background across the board until another value is set.
* Changed the colors to those from the Haiku logo rather than the BeOS
logo. This makes it a bit more colorful which one might need to get
used to -- comments welcome.


# 712fdb70 16-May-2012 Axel Dörfler <axeld@pinc-software.de>

Style cleanup.


# 0abb35c2 03-Feb-2008 François Revol <revol@free.fr>

It's now replicable. The dragger doesn't move correctly on resize though. And it needs a better menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23856 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bb00cd45 03-Feb-2008 François Revol <revol@free.fr>

* Reindent & style fix.
* Added copy-to-clipboard.
* Added picture and bitmap clipboard formats.
Now you can just paste into either a text or graphics app. Even Gobe uses the text in word processor and bitmap in picture editor :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23855 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fb3fcd87 03-Feb-2008 François Revol <revol@free.fr>

Fix Haiku build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23853 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dc6e60ec 03-Feb-2008 François Revol <revol@free.fr>

* Quit on window close.
* Added HTML export, and provision for more formats and clipboard export.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23848 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3b54b5c4 24-Nov-2007 Axel Dörfler <axeld@pinc-software.de>

* Renamed "Store Current" to "Snapshot Current", and "Restore Saved" to
"Restore Snapshot".
* Implemented a simple undo/redo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22987 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 91adcde6 17-Nov-2007 Axel Dörfler <axeld@pinc-software.de>

When having set/removed a value or hint, you can duplicate that action (or
remove the hint for that value) by dragging the mouse over other fields with
the mouse button held.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22937 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f6e4cbb9 15-Oct-2007 Axel Dörfler <axeld@pinc-software.de>

* Rewrote BeBuild.h which had "a few" consequences (got rid of all those class
definitions).
* Minor cleanup here and there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22577 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cff9bca4 09-Sep-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Ceneter SudokuView and keep it square. Avoid flickering when resizing. R5 build fixes.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22212 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d578543a 25-Aug-2007 Axel Dörfler <axeld@pinc-software.de>

* Added a first game to the image: Sudoku. It comes with a solver and generator
for three different levels (from "Very Easy" to "Hard"). Have fun!
* Feel free to do a nicer icon!
* Stack.h is actually verbatim copy of a kernel header which we might want
to move to a more public place (like shared).
* ProgressWindow is taken from ShowImage, but adapted to suit different
needs.
* It seems to trigger a bug in the interface kit or app_server: when moving
the mouse around, the right border of a field is sometimes lost. This
does not happen in BeOS, and there is actually no code that looks responsible
for this - it might be an off by one error in the region code, though?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22056 a95241bf-73f2-0310-859d-f6bbb57e9c96


# aeb121ec03aaf91a3e46f7e50b393a2786af4776 13-Jan-2015 Axel Dörfler <axeld@pinc-software.de>

Sudoku: consolidated set value code paths.

* Renamed _ToggleValue() to _SetValue(), and only let it do that.
* It's now called from _InsertKey(), and _SolveSingle() as well which
results in a correct visual update (ie. completed values, and the
value hints are updated correctly).
* _SolveSingle() would also not test for a completed game.


# e3debc9e26e313edfda1e502045ce6b9a1878143 08-Jan-2015 Axel Dörfler <axeld@pinc-software.de>

Sudoku: remove hints when setting a value.

* When you set a value, all then superfluous hints are removed
automatically now.


# fc64ef86ff1b21aa6ddd5542796c96a22d0a2410 08-Jan-2015 Axel Dörfler <axeld@pinc-software.de>

Sudoku: reordered SudokuView's methods.

* Their declaration order now matches their implementation order.


# 50e3347692855f10d9daa834f1dbeeaddcc5cec8 08-Jan-2015 Axel Dörfler <axeld@pinc-software.de>

Sudoku: minor refactoring.

* Pulled _Toggle[Hint]Value() methods out of MouseDown().


# 7ccbecc0567d8c0ce7e140774a77a92f379ad878 29-Dec-2014 Axel Dörfler <axeld@pinc-software.de>

Sudoku: added "set all hints" help item.

* Sets all the hints for all the fields.


# 332cc6bc3b696473169bb9e43340b69a0a3fc4f1 30-Nov-2012 Axel Dörfler <axeld@pinc-software.de>

64 bit fixes for libmedia.so, ActivityMonitor, and Sudoku.

* Alex, I feel your pain :-)


# 2996f648811ca6080e109ac744709ef294eb1598 05-Jun-2012 Axel Dörfler <axeld@pinc-software.de>

Implemented a value hint, changed colors.

* When you press on a value, that value will be shown with a
highlighted background across the board until another value is set.
* Changed the colors to those from the Haiku logo rather than the BeOS
logo. This makes it a bit more colorful which one might need to get
used to -- comments welcome.


# 712fdb70b2f8914380c0cd31245653bf76acc2db 16-May-2012 Axel Dörfler <axeld@pinc-software.de>

Style cleanup.


# 0abb35c2fc32044a42977509836ed80a6113d4af 03-Feb-2008 François Revol <revol@free.fr>

It's now replicable. The dragger doesn't move correctly on resize though. And it needs a better menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23856 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bb00cd45edee92eadbc72f3f154fcda7b8013cde 03-Feb-2008 François Revol <revol@free.fr>

* Reindent & style fix.
* Added copy-to-clipboard.
* Added picture and bitmap clipboard formats.
Now you can just paste into either a text or graphics app. Even Gobe uses the text in word processor and bitmap in picture editor :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23855 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fb3fcd8754b5078163dbf1613fe6da0b19f6faf5 03-Feb-2008 François Revol <revol@free.fr>

Fix Haiku build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23853 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dc6e60ec931609fb9439f812378a7ad2dc9434c6 03-Feb-2008 François Revol <revol@free.fr>

* Quit on window close.
* Added HTML export, and provision for more formats and clipboard export.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23848 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3b54b5c49e0b0937d9eae2da56817328ec3e8095 24-Nov-2007 Axel Dörfler <axeld@pinc-software.de>

* Renamed "Store Current" to "Snapshot Current", and "Restore Saved" to
"Restore Snapshot".
* Implemented a simple undo/redo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22987 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 91adcde60f9ef5cfb7f75483344bf8f07be4da13 17-Nov-2007 Axel Dörfler <axeld@pinc-software.de>

When having set/removed a value or hint, you can duplicate that action (or
remove the hint for that value) by dragging the mouse over other fields with
the mouse button held.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22937 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f6e4cbb95290a74b33d012600438b84742b0e572 15-Oct-2007 Axel Dörfler <axeld@pinc-software.de>

* Rewrote BeBuild.h which had "a few" consequences (got rid of all those class
definitions).
* Minor cleanup here and there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22577 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cff9bca41ccedf0603a87af9a3299254832c3cf3 09-Sep-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Ceneter SudokuView and keep it square. Avoid flickering when resizing. R5 build fixes.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22212 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d578543aa6da5eda36934f512fb9ef272d6cb34e 25-Aug-2007 Axel Dörfler <axeld@pinc-software.de>

* Added a first game to the image: Sudoku. It comes with a solver and generator
for three different levels (from "Very Easy" to "Hard"). Have fun!
* Feel free to do a nicer icon!
* Stack.h is actually verbatim copy of a kernel header which we might want
to move to a more public place (like shared).
* ProgressWindow is taken from ShowImage, but adapted to suit different
needs.
* It seems to trigger a bug in the interface kit or app_server: when moving
the mouse around, the right border of a field is sometimes lost. This
does not happen in BeOS, and there is actually no code that looks responsible
for this - it might be an off by one error in the region code, though?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22056 a95241bf-73f2-0310-859d-f6bbb57e9c96