git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20869 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2007-04-27 19:52:43 +00:00
parent 9a8812999e
commit 7a93cf5a82
2 changed files with 3 additions and 3 deletions
@@ -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 {