22 lines
473 B
C++
22 lines
473 B
C++
/*
|
|||
|
|
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)
|
||
|
|
{
|
||
|
|
m_caption = "";
|
||
|
|
}
|
||
|
|
|
||
|
|
void ShowImageStatusView::Draw(BRect updateRect)
|
||
|
|
{
|
||
|
|
DrawString( m_caption, BPoint( 3, 11) );
|
||
|
|
}
|
||
|
|
|
||
|
|
void ShowImageStatusView::SetCaption( char * Caption )
|
||
|
|
{
|
||
|
|
m_caption = Caption;
|
||
|
|
Invalidate();
|
||
|
|
}
|