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

Comparing BasiliskII/src/BeOS/prefs_editor_beos.cpp (file contents):
Revision 1.3 by cebix, 1999-10-21T09:03:44Z vs.
Revision 1.4 by cebix, 1999-10-28T09:31:39Z

# Line 84 | Line 84 | const uint32 MSG_ETHER = 'ethr';
84   const uint32 MSG_RAMSIZE = 'rmsz';                      // "Memory/Misc" pane
85   const uint32 MSG_MODELID_5 = 'mi05';
86   const uint32 MSG_MODELID_14 = 'mi14';
87 + const uint32 MSG_FPU = 'fpu ';
88  
89  
90   // RAM size slider class
# Line 246 | Line 247 | private:
247          RAMSlider *ramsize_slider;
248          PathControl *extfs_control;
249          PathControl *rom_control;
250 +        BCheckBox *fpu_checkbox;
251  
252          BFilePanel *add_volume_panel;
253          BFilePanel *create_volume_panel;
# Line 710 | Line 712 | BView *PrefsWindow::create_memory_pane(v
712          rom_control->SetDivider(117);
713          pane->AddChild(rom_control);
714  
715 +        fpu_checkbox = new BCheckBox(BRect(10, 100, right, 115), "fpu", GetString(STR_FPU_CTRL), new BMessage(MSG_FPU));
716 +        pane->AddChild(fpu_checkbox);
717 +        fpu_checkbox->SetValue(PrefsFindBool("fpu") ? B_CONTROL_ON : B_CONTROL_OFF);
718 +
719          return pane;
720   }
721  
# Line 927 | Line 933 | void PrefsWindow::MessageReceived(BMessa
933                          PrefsReplaceInt32("modelid", 14);
934                          break;
935  
936 +                case MSG_FPU:
937 +                        PrefsReplaceBool("fpu", fpu_checkbox->Value() == B_CONTROL_ON);
938 +                        break;
939 +
940                  default: {
941                          // Screen mode messages
942                          if ((msg->what & 0xffff0000) == MSG_SCREEN_MODE) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines