Searched refs:fTextControl (Results 1 - 24 of 24) sorted by relevance

/haiku-fatelf/src/tests/kits/interface/layout/widget_layout_test/tests/
H A DTextControlTest.cpp31 fTextControl = new BTextControl("Label", "Some Text", NULL);
33 SetView(fTextControl);
65 fTextControl->SetViewColor(background);
66 fTextControl->SetLowColor(background);
114 if (!fLongTextCheckBox || !fTextControl)
117 fTextControl->SetLabel(fLongTextCheckBox->IsSelected()
127 if (!fBigFontCheckBox || !fTextControl || !fTextControl->Window())
133 fTextControl->GetFont(fDefaultFont);
140 fTextControl
[all...]
H A DTextControlTest.h35 BTextControl* fTextControl; member in class:TextControlTest
/haiku-fatelf/src/kits/shared/
H A DPromptWindow.cpp24 fTextControl = new BTextControl("promptcontrol", label, NULL,
31 .Add(fTextControl)
36 fTextControl->TextView()->SetExplicitMinSize(BSize(
37 fTextControl->TextView()->StringWidth("1234567890"), B_SIZE_UNSET));
38 fTextControl->SetTarget(this);
41 fTextControl->MakeFocus(true);
58 fMessage->AddString("text", fTextControl->TextView()->Text());
/haiku-fatelf/src/apps/mail/
H A DFindWindow.cpp108 fTextControl = new BTextControl(r, "BTextControl", NULL,
112 fTextControl->SetModificationMessage(new BMessage(M_FIND_STRING_CHANGED));
113 fTextControl->SetText(sPreviousFind.String());
114 fTextControl->MakeFocus();
115 AddChild(fTextControl);
132 sPreviousFind = fTextControl->Text();
143 fTextControl->SetTarget(this);
144 fTextControl->ResizeToPreferred();
145 fTextControl->ResizeTo(Bounds().Width() - 20,
146 fTextControl
[all...]
H A DFindWindow.h89 BTextControl* fTextControl; member in class:FindPanel
/haiku-fatelf/src/apps/expander/
H A DPasswordAlert.cpp49 fTextControl(NULL),
61 fTextControl = new BTextControl(textControlRect, "_password_", text, NULL, new BMessage('pass'),
63 fTextControl->SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
64 fTextControl->TextView()->HideTyping(true);
65 fTextControl->SetAlignment(B_ALIGN_RIGHT, B_ALIGN_LEFT);
66 fTextControl->SetDivider(10 + fTextControl->StringWidth(text));
68 masterView->AddChild(fTextControl);
78 fTextControl->MakeFocus();
163 password = fTextControl
[all...]
H A DPasswordAlert.h28 BTextControl* fTextControl; member in class:PasswordAlert
/haiku-fatelf/src/tests/kits/net/DialUpPreflet/
H A DTextRequestDialog.cpp61 fTextControl = new BTextControl(rect, "request", request, text, NULL);
62 fTextControl->SetModificationMessage(new BMessage(kMsgUpdateControls));
63 fTextControl->SetDivider(fTextControl->StringWidth(fTextControl->Label()) + 5);
65 fTextControl->TextView()->SelectAll();
80 backgroundView->AddChild(fTextControl);
83 fTextControl->MakeFocus(true);
109 toSend.AddString("text", fTextControl->Text());
146 fOKButton->SetEnabled(fTextControl
[all...]
H A DTextRequestDialog.h30 BTextControl *fTextControl; member in class:TextRequestDialog
/haiku-fatelf/src/tests/kits/net/preflet/DialUpAddOn/
H A DTextRequestDialog.cpp78 fTextControl = new BTextControl(rect, "request", request, text, NULL);
79 fTextControl->SetModificationMessage(new BMessage(kMsgUpdateControls));
80 fTextControl->SetDivider(fTextControl->StringWidth(fTextControl->Label()) + 5);
82 fTextControl->TextView()->SelectAll();
97 backgroundView->AddChild(fTextControl);
100 fTextControl->MakeFocus(true);
126 toSend.AddString("text", fTextControl->Text());
163 fOKButton->SetEnabled(fTextControl
[all...]
H A DTextRequestDialog.h47 BTextControl *fTextControl; member in class:TextRequestDialog
/haiku-fatelf/src/tests/kits/interface/
H A DTextViewTest.cpp33 BTextControl* fTextControl; member in class:Window
45 fTextControl = new BTextControl("text-contr-O",
53 .Add(fTextControl)
98 fTextControl->SetAlignment(B_ALIGN_LEFT, B_ALIGN_LEFT);
103 fTextControl->SetAlignment(B_ALIGN_LEFT, B_ALIGN_CENTER);
108 fTextControl->SetAlignment(B_ALIGN_LEFT, B_ALIGN_RIGHT);
/haiku-fatelf/headers/private/shared/
H A DPromptWindow.h29 BTextControl* fTextControl; member in class:PromptWindow
/haiku-fatelf/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DColorPickerView.cpp127 fTextControl[i] = new BTextControl(BRect(0.0, 0.0, 32.0, 19.0).OffsetToCopy(350.0, 90.0 + 24.0 * i + (int)i/3 * 8),
130 textView = fTextControl[i]->TextView();
136 fTextControl[i]->SetFont(&font);
137 fTextControl[i]->SetDivider(0.0);
138 AddChild(fTextControl[i]);
140 fTextControl[i]->SetTarget(this);
223 int value = atoi(fTextControl[nr]->Text());
467 _SetText(fTextControl[0], string, &fRequiresUpdate);
470 _SetText(fTextControl[1], string, &fRequiresUpdate);
473 _SetText(fTextControl[
[all...]
H A DColorPickerView.h86 BTextControl* fTextControl[6]; member in class:ColorPickerView
/haiku-fatelf/src/apps/diskprobe/
H A DTypeEditors.cpp75 BTextControl* fTextControl; member in class:MimeTypeEditor
97 BTextControl* fTextControl; member in class:NumberEditor
286 fTextControl = new BTextControl(rect.InsetByCopy(5, 5), B_EMPTY_STRING,
288 fTextControl->SetDivider(StringWidth(fTextControl->Label()) + 8);
291 fTextControl->GetPreferredSize(&width, &height);
292 fTextControl->ResizeTo(rect.Width() - 10, height);
296 AddChild(fTextControl);
307 fTextControl->SetText(mimeType);
316 if (fPreviousText != fTextControl
[all...]
/haiku-fatelf/src/apps/fontdemo/
H A DControlView.h47 BTextControl* fTextControl; member in class:ControlView
H A DControlView.cpp35 fTextControl(NULL),
72 fTextControl = new BTextControl(rect, "TextInput", B_TRANSLATE("Text:"),
74 fTextControl->SetDivider(29.0);
75 fTextControl->SetModificationMessage(new BMessage(TEXT_CHANGED_MSG));
76 AddChild(fTextControl);
182 fTextControl->SetTarget(this);
220 fontMsg.AddString("_text", fTextControl->Text());
/haiku-fatelf/src/kits/tracker/
H A DFilePanelPriv.cpp151 fTextControl(NULL),
700 fTextControl = new BTextControl(rect, "text view",
703 DisallowMetaKeys(fTextControl->TextView());
704 DisallowFilenameKeys(fTextControl->TextView());
705 fBackView->AddChild(fTextControl);
706 fTextControl->SetDivider(0.0f);
707 fTextControl->TextView()->SetMaxBytes(B_FILE_NAME_LENGTH - 1);
723 fBackView->AddChild(PoseView(), fTextControl); local
791 if (fTextControl) {
792 fTextControl
[all...]
H A DFilePanelPriv.h145 BTextControl* fTextControl; member in class:BPrivate::TFilePanel
H A DFindPanel.h314 BTextControl* fTextControl; member in class:BPrivate::TAttrView
H A DFindPanel.cpp2517 fTextControl = new BTextControl(bounds, title.String(), "", "", NULL);
2518 fTextControl->SetDivider(0.0f);
2519 AddChild(fTextControl);
2546 fTextControl->MakeFocus();
2570 ASSERT(fTextControl);
2573 fTextControl->TextView()->SetText(string);
2609 ASSERT(fTextControl);
2610 message->AddString("attrViewText", fTextControl->TextView()->Text());
2672 BRect bounds(fTextControl->Frame());
2884 result << fTextControl
[all...]
/haiku-fatelf/src/preferences/keymap/
H A DKeymapWindow.h81 BTextControl* fTextControl; member in class:KeymapWindow
H A DKeymapWindow.cpp82 fTextControl = new BTextControl(B_TRANSLATE("Sample and clipboard:"),
103 .Add(fTextControl)
110 fKeyboardLayoutView->SetTarget(fTextControl->TextView());
111 fTextControl->MakeFocus();
252 fTextControl->TextView()->SetFontAndColor(&font);

Completed in 220 milliseconds