Lines Matching refs:value
120 const char* label, float value, uint32 what)
125 SetValue(text, value);
133 BString value;
216 PrintOptionsWindow::GetValue(BTextControl* text, float* value)
218 *value = atof(text->Text());
224 PrintOptionsWindow::SetValue(BTextControl* text, float value)
228 snprintf(s, sizeof(s), "%0.0f", value);
240 float value;
250 if (GetValue(fZoomFactor, &value)
251 && fCurrentOptions.ZoomFactor() != value) {
252 fCurrentOptions.SetZoomFactor(value / 100);
257 if (GetValue(fDPI, &value) && fCurrentOptions.DPI() != value) {
258 fCurrentOptions.SetDPI(value);
263 if (GetValue(fWidth, &value) && fCurrentOptions.Width() != value) {
264 fCurrentOptions.SetWidth(value);
269 if (GetValue(fHeight, &value) && fCurrentOptions.Height() != value) {
270 fCurrentOptions.SetHeight(value);