Lines Matching defs:button

188 	// the radio button group for selecting the orientation
198 LabeledRadioButton* button = new OrientationRadioButton("Horizontal",
200 vGroup->AddChild(button);
201 fOrientationRadioGroup->AddButton(button->GetRadioButton());
204 button = new OrientationRadioButton("Vertical", B_VERTICAL);
205 vGroup->AddChild(button);
206 fOrientationRadioGroup->AddButton(button->GetRadioButton());
211 // the radio button group for selecting the thumb style
221 button = new ThumbStyleRadioButton("Block thumb", B_BLOCK_THUMB);
222 vGroup->AddChild(button);
223 fThumbStyleRadioGroup->AddButton(button->GetRadioButton());
226 button = new ThumbStyleRadioButton("Triangle thumb", B_TRIANGLE_THUMB);
227 vGroup->AddChild(button);
228 fThumbStyleRadioGroup->AddButton(button->GetRadioButton());
236 // the radio button group for selecting the thumb style
242 button = new HashMarkLocationRadioButton("No hash marks",
244 group->AddChild(button);
245 fHashMarkLocationRadioGroup->AddButton(button->GetRadioButton());
248 button = new HashMarkLocationRadioButton("Left/top hash marks",
250 group->AddChild(button);
251 fHashMarkLocationRadioGroup->AddButton(button->GetRadioButton());
254 button = new HashMarkLocationRadioButton("Right/bottom hash marks",
256 group->AddChild(button);
257 fHashMarkLocationRadioGroup->AddButton(button->GetRadioButton());
260 button = new HashMarkLocationRadioButton("Both sides hash marks",
262 group->AddChild(button);
263 fHashMarkLocationRadioGroup->AddButton(button->GetRadioButton());
271 // the radio button group for selecting the bar thickness
277 button = new ThicknessRadioButton("Thin bar", 1.0);
278 group->AddChild(button);
279 fBarThicknessRadioGroup->AddButton(button->GetRadioButton());
282 button = new ThicknessRadioButton("Normal bar", fSlider->BarThickness());
283 group->AddChild(button);
284 fBarThicknessRadioGroup->AddButton(button->GetRadioButton());
287 button = new ThicknessRadioButton("Thick bar", 25.0);
288 group->AddChild(button);
289 fBarThicknessRadioGroup->AddButton(button->GetRadioButton());
297 // the radio button group for selecting the label
303 button = new LabelRadioButton("No label", NULL);
304 group->AddChild(button);
305 fLabelRadioGroup->AddButton(button->GetRadioButton());
308 button = new LabelRadioButton("Label", "Label");
309 group->AddChild(button);
310 fLabelRadioGroup->AddButton(button->GetRadioButton());
313 button = new LabelRadioButton("Long label",
315 group->AddChild(button);
316 fLabelRadioGroup->AddButton(button->GetRadioButton());
324 // the radio button group for selecting the limit labels
330 button = new LimitLabelsRadioButton("No limit labels", NULL, NULL);
331 group->AddChild(button);
332 fLimitLabelsRadioGroup->AddButton(button->GetRadioButton());
335 button = new LimitLabelsRadioButton("Normal limit labels", "Min", "Max");
336 group->AddChild(button);
337 fLimitLabelsRadioGroup->AddButton(button->GetRadioButton());
340 button = new LimitLabelsRadioButton("Long limit labels",
342 group->AddChild(button);
343 fLimitLabelsRadioGroup->AddButton(button->GetRadioButton());
407 // We need to get the parent of the actually selected button, since
408 // that is the labeled radio button we've derived our
413 OrientationRadioButton* button = dynamic_cast<OrientationRadioButton*>(
415 if (button)
416 fSlider->SetOrientation(button->fOrientation);
425 // We need to get the parent of the actually selected button, since
426 // that is the labeled radio button we've derived our
431 ThumbStyleRadioButton* button = dynamic_cast<ThumbStyleRadioButton*>(
433 if (button)
434 fSlider->SetStyle(button->fStyle);
443 // We need to get the parent of the actually selected button, since
444 // that is the labeled radio button we've derived our
449 HashMarkLocationRadioButton* button
451 if (button)
452 fSlider->SetHashMarks(button->fLocation);
461 // We need to get the parent of the actually selected button, since
462 // that is the labeled radio button we've derived our
467 ThicknessRadioButton* button
469 if (button)
470 fSlider->SetBarThickness(button->fThickness);
479 // We need to get the parent of the actually selected button, since
480 // that is the labeled radio button we've derived our
484 LabelRadioButton* button = dynamic_cast<LabelRadioButton*>(parent);
485 if (button)
486 fSlider->SetLabel(button->fLabel);
495 // We need to get the parent of the actually selected button, since
496 // that is the labeled radio button we've derived our
501 LimitLabelsRadioButton* button = dynamic_cast<LimitLabelsRadioButton*>(
503 if (button)
504 fSlider->SetLimitLabels(button->fMinLabel, button->fMaxLabel);