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 178 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 203 of file scaffolding.cpp.
References fIconFrame, FixupTextRect(), and ICON_WIDTH.
|
virtual |
Definition at line 222 of file scaffolding.cpp.
References fIconBitmap.
|
virtual |
Definition at line 260 of file scaffolding.cpp.
References FixupTextRect().
|
virtual |
Definition at line 237 of file scaffolding.cpp.
References FixupTextRect().
|
virtual |
Definition at line 245 of file scaffolding.cpp.
References fIconBitmap, and fIconFrame.
void NSIconTextControl::FixupTextRect | ( | ) |
Definition at line 282 of file scaffolding.cpp.
References ICON_WIDTH.
Referenced by AttachedToWindow(), Draw(), FrameResized(), and NSIconTextControl().
|
virtual |
Definition at line 229 of file scaffolding.cpp.
References FixupTextRect().
void NSIconTextControl::SetBitmap | ( | const BBitmap * | bitmap | ) |
Definition at line 268 of file scaffolding.cpp.
References fIconBitmap, and fIconFrame.
Referenced by gui_window_set_icon().
|
private |
Definition at line 200 of file scaffolding.cpp.
Referenced by DrawAfterChildren(), SetBitmap(), and ~NSIconTextControl().
|
private |
Definition at line 199 of file scaffolding.cpp.
Referenced by DrawAfterChildren(), NSIconTextControl(), and SetBitmap().
|
private |
Definition at line 198 of file scaffolding.cpp.