ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/prefs_unix.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/prefs_unix.cpp (file contents):
Revision 1.1 by cebix, 1999-10-03T14:16:25Z vs.
Revision 1.5 by cebix, 2000-04-10T18:53:05Z

# Line 1 | Line 1
1   /*
2   *  prefs_unix.cpp - Preferences handling, Unix specifix stuff
3   *
4 < *  Basilisk II (C) 1997-1999 Christian Bauer
4 > *  Basilisk II (C) 1997-2000 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 30 | Line 30
30   prefs_desc platform_prefs_items[] = {
31          {"keycodes", TYPE_BOOLEAN, false},              // Use keycodes rather than keysyms to decode keyboard (video_x.cpp)
32          {"keycodefile", TYPE_STRING, false},    // File name of keycode translation table (video_x.cpp)
33 +        {"fbdevicefile", TYPE_STRING, false},   // File name of frame buffer device specifications (video_x.cpp)
34 +        {"mousewheelmode", TYPE_INT16, false},  // Mouse wheel support mode (0=Page up/down, 1=Cursor up/down) (video_x.cpp)
35 +        {"mousewheellines", TYPE_INT16, false}, // Number of lines to scroll in mouse whell mode 1 (video_x.cpp)
36          {NULL, TYPE_END, false} // End of list
37   };
38  
# Line 92 | Line 95 | void SavePrefs(void)
95   void AddPlatformPrefsDefaults(void)
96   {
97          PrefsAddBool("keycodes", false);
98 +        PrefsReplaceString("extfs", "/");
99 +        PrefsReplaceInt16("mousewheelmode", 1);
100 +        PrefsReplaceInt16("mousewheellines", 3);
101   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines