didn't changed the cached settings (and thus, neither the GUI was updated
correctly, nor the settings would have been written back correctly in
this case).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5996 a95241bf-73f2-0310-859d-f6bbb57e9c96
invalid coordinates and center the window on screen.
Now, that really happens, and the MouseSettings class will also have
a default value for the position that triggers this behaviour as well.
Thanks to voidref for reporting this.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5983 a95241bf-73f2-0310-859d-f6bbb57e9c96
Now has a Default() method that activates the system default settings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5957 a95241bf-73f2-0310-859d-f6bbb57e9c96
Now maintains all mouse related settings, and also represents the current
settings (i.e. MouseSettings::SetMouseMode() will really change the mouse
mose).
Fixed bug in SaveSettings() that I missed earlier.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5950 a95241bf-73f2-0310-859d-f6bbb57e9c96
- style guide updates
- the settings are now retrieved from the current settings, rather
than from the (possibly) corrupt settings file
- removed InitCheck() as it doesn't serve any useful purpose (if the
settings file is corrupt, the application should not fail anyway;
it could just issue a warning), as the settings are now retrieved
from the current settings
- renamed WindowCorner() to WindowPosition()
- added the possibility to read/write a settings file that's incompatible
to R5 to store all possible mouse mappings (not activated, though). We
should probably better save all mappings at the end of the file for
compatibility.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5942 a95241bf-73f2-0310-859d-f6bbb57e9c96