fix typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20869 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -108,7 +108,7 @@ identify_wbi_header(BPositionIO* inSource, translator_info* outInfo,
|
|||||||
uint32 outType, WonderBrushImage** _wbImage = NULL)
|
uint32 outType, WonderBrushImage** _wbImage = NULL)
|
||||||
{
|
{
|
||||||
status_t status = B_NO_MEMORY;
|
status_t status = B_NO_MEMORY;
|
||||||
// construct new SGIImage object and set it to the provided BPositionIO
|
// construct new WonderBrushImage object and set it to the provided BPositionIO
|
||||||
WonderBrushImage* wbImage = new(nothrow) WonderBrushImage();
|
WonderBrushImage* wbImage = new(nothrow) WonderBrushImage();
|
||||||
if (wbImage)
|
if (wbImage)
|
||||||
status = wbImage->SetTo(inSource);
|
status = wbImage->SetTo(inSource);
|
||||||
|
|||||||
@@ -21,13 +21,13 @@ public:
|
|||||||
// sets up the view
|
// sets up the view
|
||||||
|
|
||||||
~WonderBrushView();
|
~WonderBrushView();
|
||||||
// releases the SGITranslator settings
|
// releases the WonderBrushTranslator settings
|
||||||
|
|
||||||
virtual void AttachedToWindow();
|
virtual void AttachedToWindow();
|
||||||
virtual void MessageReceived(BMessage *message);
|
virtual void MessageReceived(BMessage *message);
|
||||||
|
|
||||||
virtual void Draw(BRect area);
|
virtual void Draw(BRect area);
|
||||||
// draws information about the SGITranslator
|
// draws information about the WonderBrushTranslator
|
||||||
virtual void GetPreferredSize(float* width, float* height);
|
virtual void GetPreferredSize(float* width, float* height);
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
|||||||
Reference in New Issue
Block a user