Searched refs:textView (Results 1 - 25 of 34) sorted by path

12

/haiku/headers/libs/print/libprint/
H A DJobSetupDlg.h140 void AllowOnlyDigits(BTextView* textView, int maxDigits);
/haiku/headers/private/print/
H A DJobSetupPanel.h77 void _DisallowChar(BTextView* textView);
/haiku/src/add-ons/screen_savers/ifs/
H A DIFSSaver.cpp114 BTextView* textView = new BTextView(bounds, B_EMPTY_STRING, textRect, local
116 textView->SetViewColor(view->ViewColor());
125 textView->Insert(aboutScreenSaver);
127 textView->SetStylable(true);
128 textView->SetFontAndColor(0, screenSaverName.Length(), be_bold_font);
130 textView->MakeEditable(false);
132 view->AddChild(textView);
/haiku/src/add-ons/screen_savers/leaves/
H A DLeaves.cpp135 BTextView* textView = new BTextView(bounds, B_EMPTY_STRING, local
137 textView->SetViewColor(view->ViewColor());
144 textView->Insert(text.String());
145 textView->SetStylable(true);
146 textView->SetFontAndColor(0, name.Length(), be_bold_font);
147 textView->MakeEditable(false);
148 view->AddChild(textView);
/haiku/src/apps/mediaplayer/interface/
H A DSubtitleBitmap.cpp269 apply_state(BTextView* textView, const ParseState* state, BFont font, argument
286 textView->SetFontAndColor(&font, B_FONT_ALL, &state->color);
288 textView->SetFontAndColor(&font, B_FONT_ALL, NULL);
293 parse_text(const BString& string, BTextView* textView, const BFont& font, argument
310 textView->Insert(subString.String());
314 apply_state(textView, state, font, changeColor);
/haiku/src/apps/packageinstaller/
H A DPackageTextViewer.cpp64 BTextView* textView = new BTextView("text_view"); local
65 textView->MakeEditable(false);
66 textView->MakeSelectable(true);
68 textView->SetInsets(margin, margin, margin, margin);
69 BScrollView* scrollView = new BScrollView("scroll_view", textView, 0, false,
106 textView->SetText(text);
/haiku/src/apps/screenshot/
H A DScreenshotWindow.h46 void _DisallowChar(BTextView* textView);
/haiku/src/apps/webpositive/
H A DAuthenticationPanel.cpp120 BTextView* textView = new BTextView(textBounds, "text", textBounds, local
123 textView->SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
124 textView->SetText(text.String());
125 textView->MakeEditable(false);
126 textView->MakeSelectable(false);
141 .Add(textView, 0, 0, 2)
160 float textHeight = textView->LineHeight(0) * textView->CountLines();
161 textView->SetExplicitMinSize(BSize(B_SIZE_UNSET, textHeight));
/haiku/src/apps/webpositive/autocompletion/
H A DTextViewCompleter.cpp21 TextViewCompleter::TextViewWrapper::TextViewWrapper(BTextView* textView) argument
23 fTextView(textView)
69 TextViewCompleter::TextViewCompleter(BTextView* textView, ChoiceModel* model, argument
72 BAutoCompleter(new TextViewWrapper(textView), model,
75 fTextView(textView),
H A DTextViewCompleter.h20 TextViewCompleter(BTextView* textView,
33 TextViewWrapper(BTextView* textView);
/haiku/src/kits/interface/textview_support/
H A DUndoBuffer.cpp28 BTextView::UndoBuffer::UndoBuffer(BTextView* textView, undo_state state) argument
30 fTextView(textView),
91 BTextView::CutUndoBuffer::CutUndoBuffer(BTextView* textView) argument
92 : BTextView::UndoBuffer(textView, B_UNDO_CUT)
126 BTextView::PasteUndoBuffer::PasteUndoBuffer(BTextView* textView, argument
129 : BTextView::UndoBuffer(textView, B_UNDO_PASTE),
172 BTextView::ClearUndoBuffer::ClearUndoBuffer(BTextView* textView) argument
173 : BTextView::UndoBuffer(textView, B_UNDO_CLEAR)
194 BTextView::DropUndoBuffer::DropUndoBuffer(BTextView* textView, argument
197 : BTextView::UndoBuffer(textView, B_UNDO_DRO
252 TypingUndoBuffer(BTextView* textView) argument
[all...]
H A DUndoBuffer.h50 CutUndoBuffer(BTextView* textView);
61 PasteUndoBuffer(BTextView* textView,
81 ClearUndoBuffer(BTextView* textView);
92 DropUndoBuffer(BTextView* textView,
116 TypingUndoBuffer(BTextView* textView);
/haiku/src/kits/print/
H A DJobSetupPanel.cpp364 BJobSetupPanel::_DisallowChar(BTextView* textView) argument
367 textView->DisallowChar(i);
370 textView->DisallowChar(i);
/haiku/src/libs/print/libprint/
H A DJobSetupDlg.cpp180 JobSetupView::AllowOnlyDigits(BTextView* textView, int maxDigits) argument
184 textView->DisallowChar(num);
187 textView->AllowChar('0' + num);
189 textView->SetMaxBytes(maxDigits);
/haiku/src/preferences/filetypes/
H A DAttributeWindow.cpp108 BTextView* textView = fAttributeControl->TextView(); local
111 textView->DisallowChar(disallowedCharacters[i]);
185 textView = fWidthControl->TextView();
188 textView->DisallowChar(i);
190 textView->SetMaxBytes(4);
H A DExtensionWindow.cpp129 BTextView* textView = fExtensionControl->TextView(); local
132 textView->DisallowChar(disallowedCharacters[i]);
H A DFileTypeWindow.cpp67 BTextView* textView = fTypeControl->TextView(); local
70 textView->DisallowChar(disallowedCharacters[i]);
/haiku/src/tests/kits/interface/balert/
H A DAlertTest.cpp203 BTextView *textView = pAlert->TextView(); local
204 CPPUNIT_ASSERT(textView);
208 CPPUNIT_ASSERT_EQUAL(ui_color(B_PANEL_BACKGROUND_COLOR), textView->ViewColor());
212 CPPUNIT_ASSERT_EQUAL(false, textView->IsEditable());
216 CPPUNIT_ASSERT_EQUAL(false, textView->IsSelectable());
220 CPPUNIT_ASSERT_EQUAL(true, textView->DoesWordWrap());
224 CPPUNIT_ASSERT(strcmp(fTextInfo.label, textView->Text()) == 0);
228 ASSERT_DEQUAL(fTextInfo.width, textView->Bounds().Width());
229 ASSERT_DEQUAL(fTextInfo.height, textView->Bounds().Height());
233 BPoint pt = textView
[all...]
/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp1002 SysInfoView::_UpdateText(BTextView* textView) argument
1004 textView->SetExplicitAlignment(BAlignment(B_ALIGN_LEFT, B_ALIGN_TOP));
1005 textView->SetFontAndColor(be_plain_font, B_FONT_FAMILY_AND_STYLE);
1006 textView->SetColorSpace(B_RGBA32);
1007 textView->MakeResizable(false);
1008 textView->MakeEditable(false);
1009 textView->MakeSelectable(false);
1010 textView->SetWordWrap(true);
1011 textView->SetDoesUndo(false);
1012 textView
[all...]
/haiku/src/apps/haikudepot/ui/
H A DPackageInfoView.cpp876 TextView* textView = new TextView("rating-text"); local
877 ParagraphStyle paragraphStyle(textView->ParagraphStyle());
879 textView->SetParagraphStyle(paragraphStyle);
880 textView->SetText(rating->Comment());
882 verticalGroup->AddView(textView);
H A DShuttingDownWindow.cpp27 BTextView* textView = new BTextView("shutting down message"); local
28 textView->AdoptSystemColors();
29 textView->MakeEditable(false);
30 textView->MakeSelectable(false);
31 textView->SetText(B_TRANSLATE("HaikuDepot is stopping or completing "
37 .Add(textView)
/haiku/src/apps/installer/
H A DEULAWindow.cpp70 BTextView* textView = new BTextView("eula", be_plain_font, NULL, B_WILL_DRAW); local
71 textView->SetInsets(10, 10, 10, 10);
72 textView->MakeEditable(false);
73 textView->MakeSelectable(false);
74 textView->SetText(infoText);
77 textView, B_WILL_DRAW, false, true);
/haiku/src/apps/mail/
H A DAddressTextControl.cpp813 BTextView *textView = (BTextView *)ChildAt(0); local
814 if (textView != NULL)
815 textView->Select(0, textView->TextLength());
H A DHeader.cpp233 BTextView* textView = TextView(); local
234 if (textView != NULL)
235 textView->SelectAll();
249 BTextView* textView = TextView(); local
252 textView->GetFontAndColor(0, &font);
255 if (!textView->IsEditable() || IsEnabled())
262 textView->SetFontAndColor(&font, B_FONT_ALL, &textColor);
265 if (!textView->IsEditable())
274 textView->SetViewColor(color);
275 textView
690 BTextView* textView = dynamic_cast<BTextView*>(Window()->CurrentFocus()); local
[all...]
H A DMailWindow.cpp991 BTextView* textView = dynamic_cast<BTextView*>(CurrentFocus()); local
992 if (textView != NULL
993 && (dynamic_cast<AddressTextControl*>(textView->Parent()) != NULL
994 || dynamic_cast<BTextControl*>(textView->Parent()) != NULL)) {
996 textView->GetSelection(&start, &finish);

Completed in 229 milliseconds

12