Lines Matching defs:BTextControl

12 /*!	BTextControl displays text that can act like a control. */
38 # define CALLED(x...) FunctionTracer _ft("BTextControl", __FUNCTION__, \
50 const char* const kFrameField = "BTextControl:layoutitem:frame";
51 const char* const kTextViewItemField = "BTextControl:textViewItem";
68 class BTextControl::LabelLayoutItem : public BAbstractLayoutItem {
70 LabelLayoutItem(BTextControl* parent);
79 void SetParent(BTextControl* parent);
93 BTextControl* fParent;
98 class BTextControl::TextViewLayoutItem : public BAbstractLayoutItem {
100 TextViewLayoutItem(BTextControl* parent);
109 void SetParent(BTextControl* parent);
122 BTextControl* fParent;
127 struct BTextControl::LayoutData {
158 BTextControl::BTextControl(BRect frame, const char* name, const char* label,
169 BTextControl::BTextControl(const char* name, const char* label,
180 BTextControl::BTextControl(const char* label, const char* text,
192 BTextControl::~BTextControl()
199 BTextControl::BTextControl(BMessage* archive)
225 BTextControl::Instantiate(BMessage* archive)
227 if (validate_instantiation(archive, "BTextControl"))
228 return new BTextControl(archive);
235 BTextControl::Archive(BMessage *data, bool deep) const
258 BTextControl::AllArchived(BMessage* into) const
278 BTextControl::AllUnarchived(const BMessage* from)
311 BTextControl::SetText(const char *text)
330 BTextControl::Text() const
337 BTextControl::SetValue(int32 value)
344 BTextControl::Invoke(BMessage *message)
351 BTextControl::TextView() const
358 BTextControl::SetModificationMessage(BMessage *message)
366 BTextControl::ModificationMessage() const
373 BTextControl::SetAlignment(alignment labelAlignment, alignment textAlignment)
386 BTextControl::GetAlignment(alignment* _label, alignment* _text) const
396 BTextControl::SetDivider(float dividingLine)
410 BTextControl::Divider() const
417 BTextControl::Draw(BRect updateRect)
536 BTextControl::MouseDown(BPoint where)
544 BTextControl::AttachedToWindow()
554 BTextControl::MakeFocus(bool state)
566 BTextControl::SetEnabled(bool enabled)
589 BTextControl::GetPreferredSize(float *_width, float *_height)
611 BTextControl::ResizeToPreferred()
625 BTextControl::SetFlags(uint32 flags)
646 BTextControl::MessageReceived(BMessage *message)
684 BTextControl::ResolveSpecifier(BMessage *message, int32 index,
699 BTextControl::GetSupportedSuites(BMessage *data)
706 BTextControl::MouseUp(BPoint pt)
713 BTextControl::MouseMoved(BPoint pt, uint32 code, const BMessage *msg)
720 BTextControl::DetachedFromWindow()
727 BTextControl::AllAttached()
734 BTextControl::AllDetached()
741 BTextControl::FrameMoved(BPoint newPosition)
748 BTextControl::FrameResized(float width, float height)
804 BTextControl::WindowActivated(bool active)
820 BTextControl::MinSize()
830 BTextControl::MaxSize()
844 BTextControl::PreferredSize()
854 BTextControl::CreateLabelLayoutItem()
863 BTextControl::CreateTextViewLayoutItem()
872 BTextControl::LayoutInvalidated(bool descendants)
881 BTextControl::DoLayout()
943 BTextControl::Perform(perform_code code, void* _data)
948 = BTextControl::MinSize();
952 = BTextControl::MaxSize();
956 = BTextControl::PreferredSize();
960 = BTextControl::LayoutAlignment();
964 = BTextControl::HasHeightForWidth();
970 BTextControl::GetHeightForWidth(data->width, &data->min, &data->max,
977 BTextControl::SetLayout(data->layout);
984 BTextControl::LayoutInvalidated(data->descendants);
989 BTextControl::DoLayout();
997 data->return_value = BTextControl::AllUnarchived(data->archive);
1005 data->return_value = BTextControl::AllArchived(data->archive);
1014 void BTextControl::_ReservedTextControl1() {}
1015 void BTextControl::_ReservedTextControl2() {}
1016 void BTextControl::_ReservedTextControl3() {}
1017 void BTextControl::_ReservedTextControl4() {}
1020 BTextControl &
1021 BTextControl::operator=(const BTextControl&)
1028 BTextControl::_UpdateTextViewColors(bool enabled)
1058 BTextControl::_CommitValue()
1064 BTextControl::_InitData(const char* label, const BMessage* archive)
1093 BTextControl::_InitText(const char* initialText, const BMessage* archive)
1139 BTextControl::_ValidateLayout()
1152 BTextControl::_LayoutTextView()
1179 BTextControl::_UpdateFrame()
1214 BTextControl::_ValidateLayoutData()
1271 BTextControl::LabelLayoutItem::LabelLayoutItem(BTextControl* parent)
1279 BTextControl::LabelLayoutItem::LabelLayoutItem(BMessage* from)
1290 BTextControl::LabelLayoutItem::IsVisible()
1297 BTextControl::LabelLayoutItem::SetVisible(bool visible)
1304 BTextControl::LabelLayoutItem::Frame()
1311 BTextControl::LabelLayoutItem::SetFrame(BRect frame)
1319 BTextControl::LabelLayoutItem::SetParent(BTextControl* parent)
1326 BTextControl::LabelLayoutItem::View()
1333 BTextControl::LabelLayoutItem::BaseMinSize()
1347 BTextControl::LabelLayoutItem::BaseMaxSize()
1354 BTextControl::LabelLayoutItem::BasePreferredSize()
1361 BTextControl::LabelLayoutItem::BaseAlignment()
1368 BTextControl::LabelLayoutItem::FrameInParent() const
1375 BTextControl::LabelLayoutItem::Archive(BMessage* into, bool deep) const
1387 BTextControl::LabelLayoutItem::Instantiate(BMessage* from)
1389 if (validate_instantiation(from, "BTextControl::LabelLayoutItem"))
1398 BTextControl::TextViewLayoutItem::TextViewLayoutItem(BTextControl* parent)
1409 BTextControl::TextViewLayoutItem::TextViewLayoutItem(BMessage* from)
1420 BTextControl::TextViewLayoutItem::IsVisible()
1427 BTextControl::TextViewLayoutItem::SetVisible(bool visible)
1434 BTextControl::TextViewLayoutItem::Frame()
1441 BTextControl::TextViewLayoutItem::SetFrame(BRect frame)
1449 BTextControl::TextViewLayoutItem::SetParent(BTextControl* parent)
1456 BTextControl::TextViewLayoutItem::View()
1463 BTextControl::TextViewLayoutItem::BaseMinSize()
1476 BTextControl::TextViewLayoutItem::BaseMaxSize()
1485 BTextControl::TextViewLayoutItem::BasePreferredSize()
1495 BTextControl::TextViewLayoutItem::BaseAlignment()
1502 BTextControl::TextViewLayoutItem::FrameInParent() const
1509 BTextControl::TextViewLayoutItem::Archive(BMessage* into, bool deep) const
1521 BTextControl::TextViewLayoutItem::Instantiate(BMessage* from)
1523 if (validate_instantiation(from, "BTextControl::TextViewLayoutItem"))