Initial Checkin. Coded by Fernando Francisco de Oliveira.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@388 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
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();
|
||||
}
|
||||
Reference in New Issue
Block a user