Searched refs:fSizeSlider (Results 1 – 4 of 4) sorted by relevance
/haiku/src/apps/drivesetup/ |
H A D | CreateParametersPanel.cpp | 91 if (size >= 0 && size <= fSizeSlider->MaxPartitionSize()) in MessageReceived() 92 fSizeSlider->SetSize(size); in MessageReceived() 116 status_t status = storage.SetInt64("size", fSizeSlider->Size()); in ParametersReceived() 118 status = storage.SetInt64("offset", fSizeSlider->Offset()); in ParametersReceived() 132 .Add(fSizeSlider) in AddControls() 146 fSizeSlider = new SizeSlider("Slider", B_TRANSLATE("Partition size"), NULL, in _CreateCreateControls() 148 fSizeSlider->SetPosition(1.0); in _CreateCreateControls() 149 fSizeSlider->SetModificationMessage(new BMessage(MSG_SIZE_SLIDER)); in _CreateCreateControls() 170 sizeString << fSizeSlider->Size() / kMegaByte; in _UpdateSizeTextControl()
|
H A D | CreateParametersPanel.h | 46 SizeSlider* fSizeSlider;
|
/haiku/src/preferences/virtualmemory/ |
H A D | SettingsWindow.cpp | 126 fSizeSlider(NULL), in SettingsWindow() 195 fSizeSlider = new SizeSlider("size slider", in SettingsWindow() 198 fSizeSlider->SetViewColor(255, 0, 255); in SettingsWindow() 199 fSizeSlider->SetExplicitAlignment(align); in SettingsWindow() 212 .Add(fSizeSlider) in SettingsWindow() 421 fSettings.SetSwapSize((off_t)fSizeSlider->Value() * kMegaByte); in _RecordChoices() 435 fSizeSlider->SetEnabled(true); in _Update() 460 fSizeSlider->SetLimitLabels(minLabel.String(), maxLabel.String()); in _Update() 461 fSizeSlider->SetLimits(minSize / kMegaByte, safeSpace / kMegaByte); in _Update() 462 fSizeSlider->SetValue(fSettings.SwapSize() / kMegaByte); in _Update() [all …]
|
H A D | SettingsWindow.h | 79 BSlider* fSizeSlider; variable
|