/haiku/src/kits/tracker/ |
H A D | WidgetAttributeText.cpp | 545 StringAttributeText::CommitEditedText(BTextView* textView) argument 548 const char* text = textView->Text(); 555 if (textView->TextLength() == 0) { 563 if (!CommitEditedTextFlavor(textView)) 768 NameAttributeText::SetupEditing(BTextView* textView) argument 770 DisallowFilenameKeys(textView); 772 textView->SetMaxBytes(B_FILE_NAME_LENGTH); 773 textView->SetText(fFullValueText.String(), fFullValueText.Length()); 778 NameAttributeText::CommitEditedTextFlavor(BTextView* textView) argument 780 if (textView 861 SetupEditing(BTextView* textView) argument 1528 CommitEditedText(BTextView* textView) argument 1551 SetupEditing(BTextView* textView) argument 1559 CommitEditedTextFlavor(BTextView* textView) argument [all...] |
H A D | TextWidget.cpp | 343 BTextView* textView = dynamic_cast<BTextView*>( local 345 if (textView != NULL) { 348 bool tooWide = textView->TextRect().Width() > maxWidth; 349 textView->MakeResizable(!tooWide, tooWide ? NULL : scrollView); 375 BTextView* textView = dynamic_cast<BTextView*>( local 377 if (textView != NULL) { 378 float textWidth = textView->TextRect().Width(); 382 textView->GetSelection(&start, &finish); 385 textView->GetTextRegion(start, finish, &selectedRegion); 398 textWidth += textView 449 BTextView* textView = new BTextView(rect, "WidgetTextView", rect, local [all...] |
H A D | Utilities.cpp | 158 DisallowFilenameKeys(BTextView* textView) argument 160 textView->DisallowChar('/'); 165 DisallowMetaKeys(BTextView* textView) argument 167 textView->DisallowChar(B_TAB); 168 textView->DisallowChar(B_ESCAPE); 169 textView->DisallowChar(B_INSERT); 170 textView->DisallowChar(B_DELETE); 171 textView->DisallowChar(B_HOME); 172 textView->DisallowChar(B_END); 173 textView [all...] |
/haiku/src/apps/aboutsystem/ |
H A D | AboutSystem.cpp | 1002 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 D | PackageInfoView.cpp | 876 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 D | ShuttingDownWindow.cpp | 27 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/webpositive/ |
H A D | BrowserWindow.cpp | 1085 BTextView* textView = dynamic_cast<BTextView*>(CurrentFocus()); local 1086 if (textView != NULL) 1087 textView->MessageReceived(message);
|
H A D | AuthenticationPanel.cpp | 120 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/people/ |
H A D | PersonWindow.cpp | 143 BTextView* textView = dynamic_cast<BTextView*>(CurrentFocus()); local 144 if (textView != NULL) { 145 undo_state state = textView->UndoState(&isRedo);
|
/haiku/src/apps/mail/ |
H A D | MailWindow.cpp | 991 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);
|
H A D | Header.cpp | 233 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 D | Signature.cpp | 135 BTextView* textView = fSigView->fName->TextView(); local 138 if (textView->IsFocus()) 139 textView->GetSelection(&start, &finish); 146 fNew->SetEnabled(textView->TextLength() 235 BTextView* textView = fSigView->fName->TextView(); local 236 textView->Select(0, textView->TextLength()); 283 BTextView* textView = (BTextView *)fSigView->fName->TextView(); local 285 textView->Select(0, textView [all...] |
H A D | AddressTextControl.cpp | 813 BTextView *textView = (BTextView *)ChildAt(0); local 814 if (textView != NULL) 815 textView->Select(0, textView->TextLength());
|
/haiku/src/preferences/filetypes/ |
H A D | ApplicationTypeWindow.cpp | 336 BTextView* textView = fSignatureControl->TextView(); local 337 textView->SetMaxBytes(B_MIME_TYPE_LENGTH); 340 textView->DisallowChar(disallowedCharacters[i]); 708 BTextView* textView = control->TextView(); local 709 textView->SetMaxBytes(10); 713 textView->DisallowChar(i);
|
H A D | AttributeWindow.cpp | 108 BTextView* textView = fAttributeControl->TextView(); local 111 textView->DisallowChar(disallowedCharacters[i]); 185 textView = fWidthControl->TextView(); 188 textView->DisallowChar(i); 190 textView->SetMaxBytes(4);
|
H A D | FileTypeWindow.cpp | 67 BTextView* textView = fTypeControl->TextView(); local 70 textView->DisallowChar(disallowedCharacters[i]);
|
H A D | ExtensionWindow.cpp | 129 BTextView* textView = fExtensionControl->TextView(); local 132 textView->DisallowChar(disallowedCharacters[i]);
|
/haiku/src/kits/interface/ |
H A D | Window.cpp | 3714 BTextView* textView = dynamic_cast<BTextView*>(CurrentFocus()); local 3715 if (textView != NULL) { 3716 textView->KeyDown(bytes, modifiers);
|
/haiku/src/apps/installer/ |
H A D | EULAWindow.cpp | 70 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/screenshot/ |
H A D | ScreenshotWindow.cpp | 474 ScreenshotWindow::_DisallowChar(BTextView* textView) argument 477 textView->DisallowChar(i); 480 textView->DisallowChar(i);
|
H A D | ScreenshotWindow.h | 46 void _DisallowChar(BTextView* textView);
|
/haiku/src/kits/interface/textview_support/ |
H A D | UndoBuffer.cpp | 28 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...] |
/haiku/src/libs/print/libprint/ |
H A D | JobSetupDlg.cpp | 180 JobSetupView::AllowOnlyDigits(BTextView* textView, int maxDigits) argument 184 textView->DisallowChar(num); 187 textView->AllowChar('0' + num); 189 textView->SetMaxBytes(maxDigits);
|
/haiku/src/add-ons/screen_savers/ifs/ |
H A D | IFSSaver.cpp | 114 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/kits/print/ |
H A D | JobSetupPanel.cpp | 364 BJobSetupPanel::_DisallowChar(BTextView* textView) argument 367 textView->DisallowChar(i); 370 textView->DisallowChar(i);
|