|
NetSurf
|
Public Member Functions | |
| NSIconTextControl (BRect frame, const char *name, const char *label, const char *initialText, BMessage *message, uint32 resizeMode=B_FOLLOW_LEFT|B_FOLLOW_TOP, uint32 flags=B_WILL_DRAW|B_NAVIGABLE|B_DRAW_ON_CHILDREN) | |
| virtual | ~NSIconTextControl () |
| virtual void | FrameResized (float newWidth, float newHeight) |
| virtual void | Draw (BRect updateRect) |
| virtual void | DrawAfterChildren (BRect updateRect) |
| virtual void | AttachedToWindow () |
| void | SetBitmap (const BBitmap *bitmap) |
| void | FixupTextRect () |
Private Attributes | |
| BPoint | fIconOffset |
| BRect | fIconFrame |
| const BBitmap * | fIconBitmap |
Definition at line 179 of file scaffolding.cpp.
| NSIconTextControl::NSIconTextControl | ( | BRect | frame, |
| const char * | name, | ||
| const char * | label, | ||
| const char * | initialText, | ||
| BMessage * | message, | ||
| uint32 | resizeMode = B_FOLLOW_LEFT | B_FOLLOW_TOP, |
||
| uint32 | flags = B_WILL_DRAW | B_NAVIGABLE | B_DRAW_ON_CHILDREN |
||
| ) |
Definition at line 204 of file scaffolding.cpp.
References fIconFrame, FixupTextRect(), and ICON_WIDTH.
|
virtual |
Definition at line 223 of file scaffolding.cpp.
References fIconBitmap.
|
virtual |
Definition at line 261 of file scaffolding.cpp.
References FixupTextRect().
|
virtual |
Definition at line 238 of file scaffolding.cpp.
References FixupTextRect().
|
virtual |
Definition at line 246 of file scaffolding.cpp.
References fIconBitmap, and fIconFrame.
| void NSIconTextControl::FixupTextRect | ( | ) |
Definition at line 283 of file scaffolding.cpp.
References ICON_WIDTH.
Referenced by AttachedToWindow(), Draw(), FrameResized(), and NSIconTextControl().
|
virtual |
Definition at line 230 of file scaffolding.cpp.
References FixupTextRect().
| void NSIconTextControl::SetBitmap | ( | const BBitmap * | bitmap | ) |
Definition at line 269 of file scaffolding.cpp.
References fIconBitmap, and fIconFrame.
Referenced by gui_window_set_icon().
|
private |
Definition at line 201 of file scaffolding.cpp.
Referenced by DrawAfterChildren(), SetBitmap(), and ~NSIconTextControl().
|
private |
Definition at line 200 of file scaffolding.cpp.
Referenced by DrawAfterChildren(), NSIconTextControl(), and SetBitmap().
|
private |
Definition at line 199 of file scaffolding.cpp.