2002-07-22 23:59:33 +00:00
|
|
|
/*
|
|
|
|
|
OBOS ShowImage 0.1 - 17/02/2002 - 22:22 - Fernando Francisco de Oliveira
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "ShowImageStatusView.h"
|
|
|
|
|
|
|
|
|
|
ShowImageStatusView::ShowImageStatusView(BRect r, const char* name, uint32 resizingMode, uint32 flags)
|
|
|
|
|
: BView(r, name, resizingMode, flags)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ShowImageStatusView::Draw(BRect updateRect)
|
|
|
|
|
{
|
2003-08-02 16:39:21 +00:00
|
|
|
DrawString( fstrText.String(), BPoint( 3, 11) );
|
2002-07-22 23:59:33 +00:00
|
|
|
}
|
|
|
|
|
|
2003-08-02 16:39:21 +00:00
|
|
|
void ShowImageStatusView::SetText(BString &strText)
|
2002-07-22 23:59:33 +00:00
|
|
|
{
|
2003-08-02 16:39:21 +00:00
|
|
|
fstrText = strText;
|
2002-07-22 23:59:33 +00:00
|
|
|
Invalidate();
|
2002-09-27 05:40:17 +00:00
|
|
|
}
|