Home
last modified time | relevance | path

Searched refs:fSettings (Results 1 – 25 of 240) sorted by relevance

12345678910

/haiku/src/kits/screensaver/
H A DScreenSaverSettings.cpp48 if (fSettings.Unflatten(&file) != B_OK) in Load()
51 PRINT_OBJECT(fSettings); in Load()
54 if (fSettings.FindRect("windowframe", &rect) == B_OK) in Load()
57 if (fSettings.FindInt32("windowtab", &value) == B_OK) in Load()
59 if (fSettings.FindInt32("timeflags", &value) == B_OK) in Load()
62 if (fSettings.FindInt32("timefade", &value) == B_OK) in Load()
64 if (fSettings.FindInt32("timestandby", &value) == B_OK) in Load()
66 if (fSettings.FindInt32("timesuspend", &value) == B_OK) in Load()
68 if (fSettings.FindInt32("timeoff", &value) == B_OK) in Load()
71 if (fSettings.FindInt32("cornernow", &value) == B_OK) in Load()
[all …]
/haiku/src/preferences/input/
H A DInputMouse.cpp33 fSettings = settings; in InputMouse()
35 fSettingsView = new SettingsView(*fSettings); in InputMouse()
39 fDefaultsButton->SetEnabled(fSettings->IsDefaultable()); in InputMouse()
68 fSettings->Defaults(); in MessageReceived()
72 fRevertButton->SetEnabled(fSettings->IsRevertable()); in MessageReceived()
78 fSettings->Revert(); in MessageReceived()
81 fDefaultsButton->SetEnabled(fSettings->IsDefaultable()); in MessageReceived()
92 fSettings->SetMouseType(type); in MessageReceived()
94 fDefaultsButton->SetEnabled(fSettings->IsDefaultable()); in MessageReceived()
95 fRevertButton->SetEnabled(fSettings->IsRevertable()); in MessageReceived()
[all …]
H A DMouseSettings.cpp28 fOriginalSettings = fSettings; in MouseSettings()
44 if (get_mouse_map(fName, &fSettings.map) != B_OK) in _RetrieveSettings()
46 if (get_click_speed(fName, &fSettings.click_speed) != B_OK) in _RetrieveSettings()
48 if (get_mouse_speed(fName, &fSettings.accel.speed) != B_OK) in _RetrieveSettings()
50 if (get_mouse_acceleration(fName, &fSettings.accel.accel_factor) != B_OK) in _RetrieveSettings()
52 if (get_mouse_type(fName, &fSettings.type) != B_OK) in _RetrieveSettings()
86 return fSettings.click_speed != kDefaultClickSpeed in IsDefaultable()
87 || fSettings.accel.speed != kDefaultMouseSpeed in IsDefaultable()
88 || fSettings.type != kDefaultMouseType in IsDefaultable()
89 || fSettings.accel.accel_factor != kDefaultAccelerationFactor in IsDefaultable()
[all …]
H A DInputTouchpadPref.cpp32 fStartSettings = fSettings; in TouchpadPref()
47 fSettings = fStartSettings; in Revert()
55 msg.AddBool("scroll_twofinger", fSettings.scroll_twofinger); in UpdateSettings()
57 "scroll_twofinger_horizontal", fSettings.scroll_twofinger_horizontal); in UpdateSettings()
58 msg.AddFloat("scroll_rightrange", fSettings.scroll_rightrange); in UpdateSettings()
59 msg.AddFloat("scroll_bottomrange", fSettings.scroll_bottomrange); in UpdateSettings()
60 msg.AddInt16("scroll_xstepsize", fSettings.scroll_xstepsize); in UpdateSettings()
61 msg.AddInt16("scroll_ystepsize", fSettings.scroll_ystepsize); in UpdateSettings()
62 msg.AddInt8("scroll_acceleration", fSettings.scroll_acceleration); in UpdateSettings()
63 msg.AddInt8("tapgesture_sensibility", fSettings.tapgesture_sensibility); in UpdateSettings()
[all …]
H A DInputKeyboard.cpp61 slider->SetValue(fSettings.KeyboardRepeatRate()); in InputKeyboard()
65 slider->SetValue(fSettings.KeyboardRepeatDelay()); in InputKeyboard()
67 fDefaultsButton->SetEnabled(fSettings.IsDefaultable()); in InputKeyboard()
79 fSettings.Defaults(); in MessageReceived()
83 slider->SetValue(fSettings.KeyboardRepeatRate()); in MessageReceived()
87 slider->SetValue(fSettings.KeyboardRepeatDelay()); in MessageReceived()
96 fSettings.Revert(); in MessageReceived()
100 slider->SetValue(fSettings.KeyboardRepeatRate()); in MessageReceived()
104 slider->SetValue(fSettings.KeyboardRepeatDelay()); in MessageReceived()
106 fDefaultsButton->SetEnabled(fSettings.IsDefaultable()); in MessageReceived()
[all …]
H A DKeyboardSettings.cpp19 if (get_key_repeat_rate(&fSettings.key_repeat_rate) != B_OK) in KeyboardSettings()
20 fSettings.key_repeat_rate = kb_default_key_repeat_rate; in KeyboardSettings()
22 if (get_key_repeat_delay(&fSettings.key_repeat_delay) != B_OK) in KeyboardSettings()
23 fSettings.key_repeat_delay = kb_default_key_repeat_delay; in KeyboardSettings()
25 fOriginalSettings = fSettings; in KeyboardSettings()
39 fSettings.key_repeat_rate = rate; in SetKeyboardRepeatRate()
48 fSettings.key_repeat_delay = delay; in SetKeyboardRepeatDelay()
71 return fSettings.key_repeat_delay != kb_default_key_repeat_delay in IsDefaultable()
72 || fSettings.key_repeat_rate != kb_default_key_repeat_rate; in IsDefaultable()
H A DSettingsView.cpp36 fSettings(settings) in SettingsView()
38 if (fSettings.MouseType() > 6) in SettingsView()
71 fMouseView = new MouseView(fSettings); in SettingsView()
181 int32 value = int32((1000000LL - fSettings.ClickSpeed()) / 1000); in UpdateFromSettings()
185 value = int32((log(fSettings.MouseSpeed() / 8192.0) / log(2)) * 1000 / 6); in UpdateFromSettings()
189 value = int32(sqrt(fSettings.AccelerationFactor() / 16384.0) * 1000 / 4); in UpdateFromSettings()
193 fTypeMenu->SelectOptionFor(fSettings.MouseType()); in UpdateFromSettings()
194 fMouseView->SetMouseType(fSettings.MouseType()); in UpdateFromSettings()
196 fFocusMenu->SelectOptionFor(fSettings.MouseMode()); in UpdateFromSettings()
199 fSettings.AcceptFirstClick() ? B_CONTROL_ON : B_CONTROL_OFF); in UpdateFromSettings()
[all …]
/haiku/src/apps/showimage/
H A DShowImageSettings.cpp55 if (fSettings.FindBool(name, &value) == B_OK) in GetBool()
66 if (fSettings.FindInt32(name, &value) == B_OK) in GetInt32()
77 if (fSettings.FindFloat(name, &value) == B_OK) in GetFloat()
88 if (fSettings.FindRect(name, &value) == B_OK) in GetRect()
99 if (fSettings.FindInt64(name, &value) == B_OK) in GetTime()
110 if (fSettings.FindString(name, &value) == B_OK) in GetString()
120 if (fSettings.HasBool(name)) in SetBool()
121 fSettings.ReplaceBool(name, value); in SetBool()
123 fSettings.AddBool(name, value); in SetBool()
132 if (fSettings.HasInt32(name)) in SetInt32()
[all …]
/haiku/src/apps/mediaplayer/settings/
H A DSettingsWindow.cpp230 fSettings = fLastSettings; in Show()
280 fAutostartCB->SetValue(fSettings.autostart); in AdoptSettings()
281 fCloseWindowMoviesCB->SetValue(fSettings.closeWhenDonePlayingMovie); in AdoptSettings()
282 fCloseWindowSoundsCB->SetValue(fSettings.closeWhenDonePlayingSound); in AdoptSettings()
283 fLoopMoviesCB->SetValue(fSettings.loopMovie); in AdoptSettings()
284 fLoopSoundsCB->SetValue(fSettings.loopSound); in AdoptSettings()
286 fUseOverlaysCB->SetValue(fSettings.useOverlays); in AdoptSettings()
287 fScaleBilinearCB->SetValue(fSettings.scaleBilinear); in AdoptSettings()
288 fScaleFullscreenControlsCB->SetValue(fSettings.scaleFullscreenControls); in AdoptSettings()
290 fResumeOP->SetValue(fSettings.resume); in AdoptSettings()
[all …]
/haiku/src/add-ons/translators/gif/
H A DGIFView.cpp50 fSettings(settings) in GIFView()
183 fSettings->Acquire(); in GIFView()
191 fSettings->Release(); in ~GIFView()
210 switch (fSettings->SetGetInt32(GIF_SETTING_PALETTE_MODE)) { in RestorePrefs()
232 fSettings->SetGetInt32(GIF_SETTING_PALETTE_MODE, &value); in RestorePrefs()
233 fSettings->SaveSettings(); in RestorePrefs()
239 && fSettings->SetGetInt32(GIF_SETTING_PALETTE_SIZE) > 0 in RestorePrefs()
240 && fSettings->SetGetInt32(GIF_SETTING_PALETTE_SIZE) <= 8) { in RestorePrefs()
242 fColorCountMI[fSettings->SetGetInt32(GIF_SETTING_PALETTE_SIZE) - 1] in RestorePrefs()
248 fSettings->SetGetInt32(GIF_SETTING_PALETTE_SIZE, &value); in RestorePrefs()
[all …]
/haiku/src/add-ons/mail_daemon/inbound_filters/match_header/
H A DMatchHeaderSettings.h25 fSettings(settings) in MatchHeaderSettings()
31 return (rule_action)fSettings.GetInt32("action", -1); in Action()
36 return fSettings.FindString("attribute"); in Attribute()
41 return fSettings.FindString("regex"); in Expression()
46 return fSettings.FindString("move target"); in MoveTarget()
51 return fSettings.FindString("set flags"); in SetFlagsTo()
56 return fSettings.GetInt32("account", -1); in ReplyAccount()
60 const BMailAddOnSettings& fSettings;
/haiku/src/apps/webpositive/
H A DSettingsWindow.cpp89 fSettings(settings) in SettingsWindow()
281 fSettings->GetValue(kSettingsKeyStartPageURL, kDefaultStartPageURL)); in _CreateGeneralPage()
287 BString searchURL = fSettings->GetValue(kSettingsKeySearchPageURL, in _CreateGeneralPage()
297 fSettings->GetValue(kSettingsKeyDownloadPath, kDefaultDownloadPath)); in _CreateGeneralPage()
514 fSettings->GetValue(kSettingsKeyProxyAddress, "")); in _CreateProxyPage()
522 fSettings->GetValue(kSettingsKeyProxyPort, "")); in _CreateProxyPage()
535 fSettings->GetValue(kSettingsKeyProxyUsername, "")); in _CreateProxyPage()
544 fSettings->GetValue(kSettingsKeyProxyPassword, "")); in _CreateProxyPage()
589 fSettings->GetValue(kSettingsKeyStartPageURL, in _CanApplySettings()
593 fSettings->GetValue(kSettingsKeySearchPageURL, in _CanApplySettings()
[all …]
/haiku/src/apps/bootmanager/
H A DBootManagerController.cpp42 fSettings.AddBool("install", true); in BootManagerController()
43 fSettings.AddInt32("defaultPartition", 0); in BootManagerController()
44 fSettings.AddInt32("timeout", -1); in BootManagerController()
49 fSettings.AddString("file", path.Path()); in BootManagerController()
57 fSettings.AddString("file", ""); in BootManagerController()
76 fSettings.ReplaceBool("install", false); in Previous()
96 if (fSettings.FindString("disk", &path) != B_OK) in NextState()
104 if (fSettings.FindBool("install")) { in NextState()
115 *fBootDrive, fSettings); in NextState()
170 for (int32 i = 0; fSettings.FindMessage("partition", i, &message) == B_OK; in _HasSelectedPartitions()
[all …]
/haiku/src/preferences/bluetooth/
H A DBluetoothSettingsView.cpp56 fSettings.LoadSettings(); in BluetoothSettingsView()
65 fPolicyMenu->SetValue(fSettings.Policy()); in BluetoothSettingsView()
68 label << " " << fSettings.InquiryTime(); in BluetoothSettingsView()
76 fInquiryTimeControl->SetValue(fSettings.InquiryTime()); in BluetoothSettingsView()
92 fSettings.SetLocalDeviceClass(rememberedClass); in BluetoothSettingsView()
122 fSettings.SaveSettings(); in ~BluetoothSettingsView()
162 fSettings.SetPolicy(policy); in MessageReceived()
169 fSettings.SetInquiryTime(fInquiryTimeControl->Value()); in MessageReceived()
210 fSettings.SetLocalDeviceClass(DeviceClass(major, minor, service)); in _SetDeviceClass()
213 ActiveLocalDevice->SetDeviceClass(fSettings.LocalDeviceClass()); in _SetDeviceClass()
[all …]
/haiku/src/servers/input/
H A DMouseSettings.cpp41 fSettings = *originalSettings; in MouseSettings()
63 printf("type:\t\t%" B_PRId32 " button mouse\n", fSettings.type); in Dump()
66 fSettings.map.button[0], fSettings.map.button[2], in Dump()
67 fSettings.map.button[1]); in Dump()
68 printf("click speed:\t%" B_PRId64 "\n", fSettings.click_speed); in Dump()
69 printf("accel:\t\t%s\n", fSettings.accel.enabled in Dump()
71 printf("accel factor:\t%" B_PRId32 "\n", fSettings.accel.accel_factor); in Dump()
72 printf("speed:\t\t%" B_PRId32 "\n", fSettings.accel.speed); in Dump()
122 fSettings.map.button[i] = B_MOUSE_BUTTON(i + 1); in Defaults()
132 fSettings.type = type; in SetMouseType()
[all …]
H A DKeyboardSettings.cpp27 if (file.Read(&fSettings, sizeof(kb_settings)) != sizeof(kb_settings)) in KeyboardSettings()
32 fSettings.key_repeat_delay = kb_default_key_repeat_delay; in KeyboardSettings()
33 fSettings.key_repeat_rate = kb_default_key_repeat_rate; in KeyboardSettings()
45 fSettings.key_repeat_rate = rate; in SetKeyboardRepeatRate()
53 fSettings.key_repeat_delay = delay; in SetKeyboardRepeatDelay()
71 file.Write(&fSettings, sizeof(kb_settings)); in Save()
/haiku/src/add-ons/media/media-add-ons/mixer/
H A DMixerSettings.cpp72 temp = fSettings.AttenuateOutput; in AttenuateOutput()
82 fSettings.AttenuateOutput = yesno; in SetAttenuateOutput()
93 temp = fSettings.UseBalanceControl; in UseBalanceControl()
103 fSettings.UseBalanceControl = yesno; in SetUseBalanceControl()
114 temp = fSettings.AllowOutputChannelRemapping; in AllowOutputChannelRemapping()
124 fSettings.AllowOutputChannelRemapping = yesno; in SetAllowOutputChannelRemapping()
135 temp = fSettings.AllowInputChannelRemapping; in AllowInputChannelRemapping()
145 fSettings.AllowInputChannelRemapping = yesno; in SetAllowInputChannelRemapping()
156 temp = fSettings.InputGainControls; in InputGainControls()
166 fSettings.InputGainControls = value; in SetInputGainControls()
[all …]
/haiku/src/apps/deskbar/
H A DPreferencesWindow.cpp53 fSettings = *static_cast<TBarApp*>(be_app)->Settings(); in PreferencesWindow()
100 fMenuRecentDocuments->SetValue(fSettings.recentDocsEnabled); in PreferencesWindow()
101 fMenuRecentDocumentCount->SetEnabled(fSettings.recentDocsEnabled); in PreferencesWindow()
103 fMenuRecentDocumentCount->SetValue(fSettings.recentDocsCount); in PreferencesWindow()
105 fMenuRecentApplications->SetValue(fSettings.recentAppsEnabled); in PreferencesWindow()
106 fMenuRecentApplicationCount->SetEnabled(fSettings.recentAppsEnabled); in PreferencesWindow()
108 fMenuRecentApplicationCount->SetValue(fSettings.recentAppsCount); in PreferencesWindow()
110 fMenuRecentFolders->SetValue(fSettings.recentFoldersEnabled); in PreferencesWindow()
111 fMenuRecentFolderCount->SetEnabled(fSettings.recentFoldersEnabled); in PreferencesWindow()
113 fMenuRecentFolderCount->SetValue(fSettings.recentFoldersCount); in PreferencesWindow()
[all …]
H A DBarApp.cpp202 prefs.AddBool("vertical", fSettings.vertical); in SaveSettings()
203 prefs.AddBool("left", fSettings.left); in SaveSettings()
204 prefs.AddBool("top", fSettings.top); in SaveSettings()
205 prefs.AddInt32("state", fSettings.state); in SaveSettings()
206 prefs.AddFloat("width", fSettings.width); in SaveSettings()
207 prefs.AddPoint("switcherLoc", fSettings.switcherLoc); in SaveSettings()
208 prefs.AddBool("showClock", fSettings.showClock); in SaveSettings()
210 prefs.AddBool("trackerAlwaysFirst", fSettings.trackerAlwaysFirst); in SaveSettings()
211 prefs.AddBool("sortRunningApps", fSettings.sortRunningApps); in SaveSettings()
212 prefs.AddBool("superExpando", fSettings.superExpando); in SaveSettings()
[all …]
/haiku/src/bin/screen_blanker/
H A DScreenBlanker.cpp67 if (!fSettings.Load()) in ReadyToRun()
77 fSaverRunner = new ScreenSaverRunner(fWindow, view, fSettings); in ReadyToRun()
152 fSettings.BlankTime(), 1); in _QueueResumeScreenSaver()
171 uint32 flags = fSettings.TimeFlags(); in _QueueTurnOffScreen()
184 if (fSettings.OffTime() == fSettings.SuspendTime() in _QueueTurnOffScreen()
188 if (fSettings.SuspendTime() == fSettings.StandByTime() in _QueueTurnOffScreen()
198 fSettings.StandByTime(), 1); in _QueueTurnOffScreen()
206 fSettings.SuspendTime(), 1); in _QueueTurnOffScreen()
214 fSettings.OffTime(), 1); in _QueueTurnOffScreen()
227 if (strcmp(fSettings.Password(), crypt(fPasswordWindow->Password(), in MessageReceived()
[all …]
/haiku/src/preferences/screensaver/
H A DScreenSaverWindow.cpp128 ScreenSaverSettings& fSettings; member in FadeView
181 ScreenSaverSettings& fSettings; member in ModulesView
281 fSettings(settings) in FadeView()
421 fSettings.TimeFlags() & ENABLE_SAVER ? B_CONTROL_ON : B_CONTROL_OFF); in AttachedToWindow()
422 fRunSlider->SetTime(fSettings.BlankTime()); in AttachedToWindow()
423 fTurnOffSlider->SetTime(fSettings.OffTime() + fSettings.BlankTime()); in AttachedToWindow()
424 fFadeNow->SetCorner(fSettings.BlankCorner()); in AttachedToWindow()
425 fFadeNever->SetCorner(fSettings.NeverBlankCorner()); in AttachedToWindow()
426 fPasswordCheckBox->SetValue(fSettings.LockEnable()); in AttachedToWindow()
427 fPasswordSlider->SetTime(fSettings.PasswordTime()); in AttachedToWindow()
[all …]
/haiku/src/add-ons/screen_savers/slideshowsaver/
H A DSlideShowConfigView.cpp61 fSettings = settings; in SlideShowConfigView()
72 val = (fSettings->SetGetBool(SAVER_SETTING_CAPTION)) ? 1 : 0; in SlideShowConfigView()
81 val = (fSettings->SetGetBool(SAVER_SETTING_BORDER)) ? 1 : 0; in SlideShowConfigView()
88 int32 currentDelay = fSettings->SetGetInt32(SAVER_SETTING_DELAY) / 1000; in SlideShowConfigView()
157 fSettings->Release(); in ~SlideShowConfigView()
216 fSettings->SetGetBool(SAVER_SETTING_CAPTION, &bNewVal); in MessageReceived()
217 fSettings->SaveSettings(); in MessageReceived()
225 fSettings->SetGetBool(SAVER_SETTING_BORDER, &bNewVal); in MessageReceived()
226 fSettings->SaveSettings(); in MessageReceived()
232 fSettings->GetString(SAVER_SETTING_DIRECTORY, strDirectory); in MessageReceived()
[all …]
/haiku/src/preferences/virtualmemory/
H A DSettingsWindow.cpp137 if (fSettings.ReadWindowSettings() != B_OK) in SettingsWindow()
140 MoveTo(fSettings.WindowPosition()); in SettingsWindow()
142 status_t result = fSettings.ReadSwapSettings(); in SettingsWindow()
144 fSettings.DefaultSwapSettings(false); in SettingsWindow()
154 fSettings.DefaultSwapSettings(false); in SettingsWindow()
164 fSettings.SetSwapVolume(gBootDev, false); in SettingsWindow()
234 if (!screenFrame.Contains(fSettings.WindowPosition())) in SettingsWindow()
239 status_t result = fSettings.SwapVolume().InitCheck(); in SettingsWindow()
254 fSettings.SetSwapVolume(bootVolume); in SettingsWindow()
293 fSettings.RevertSwapSettings(); in MessageReceived()
[all …]
/haiku/src/add-ons/translators/tga/
H A DTGAView.cpp48 fSettings(settings) in TGAView()
67 int32 val = (fSettings->SetGetBool(TGA_SETTING_IGNORE_ALPHA)) ? 1 : 0; in TGAView()
73 val = (fSettings->SetGetBool(TGA_SETTING_RLE)) ? 1 : 0; in TGAView()
92 fSettings->Release(); in ~TGAView()
111 fSettings->SetGetBool(TGA_SETTING_IGNORE_ALPHA, &ignoreAlpha); in MessageReceived()
112 fSettings->SaveSettings(); in MessageReceived()
118 fSettings->SetGetBool(TGA_SETTING_RLE, &saveWithRLE); in MessageReceived()
119 fSettings->SaveSettings(); in MessageReceived()
/haiku/src/add-ons/input_server/devices/mouse/
H A Dmovement_maker.cpp40 fSettings = settings; in SetSettings()
61 if (fSettings.scroll_xstepsize <= 0) in StartNewMovment()
62 fSettings.scroll_xstepsize = 1; in StartNewMovment()
63 if (fSettings.scroll_ystepsize <= 0) in StartNewMovment()
64 fSettings.scroll_ystepsize = 1; in StartNewMovment()
85 _ComputeAcceleration(fSettings.scroll_acceleration); in GetScrolling()
87 if (fSettings.scroll_xstepsize > 0) { in GetScrolling()
90 stepsX = make_small(scrolling_x / fSettings.scroll_xstepsize); in GetScrolling()
92 scrolling_x -= stepsX * fSettings.scroll_xstepsize; in GetScrolling()
98 if (fSettings.scroll_ystepsize > 0) { in GetScrolling()
[all …]

12345678910