Lines Matching defs:control2
45 ControlType* control2 = new ControlType("Disabled", NULL);
46 control2->SetEnabled(false);
54 control2->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNSET));
59 layout->AddView(control2, 1, row);
76 BMenuField* control2 = new BMenuField("Disabled", menu2);
77 control2->SetEnabled(false);
82 layout->AddItem(control2->CreateLabelLayoutItem(), 2, row);
83 layout->AddItem(control2->CreateMenuBarLayoutItem(), 3, row);
86 layout->AddView(control2, 2, row, 2);
97 BTextControl* control2 = new BTextControl("Disabled", "More text", NULL);
98 control2->SetEnabled(false);
103 layout->AddItem(control2->CreateLabelLayoutItem(), 2, row);
104 layout->AddItem(control2->CreateTextViewLayoutItem(), 3, row);
107 layout->AddView(control2, 2, row, 2);
119 BSlider* control2 = new BSlider("slider 2", "Disabled", NULL, 1, 100,
121 control2->SetEnabled(false);
125 control2->SetHashMarkCount(10);
126 control2->SetHashMarks(B_HASH_MARKS_BOTTOM);
129 layout->AddView(control2, 2, row, 2);
135 control2 = new BSlider("slider 4", "Disabled", NULL, 1, 100,
137 control2->SetEnabled(false);
145 control2->SetLimitLabels("1", "100");
146 control2->UseFillColor(true, &fillColor);
147 control2->SetValue(10);
150 layout->AddView(control2, 2, row, 2);