Made ActivityMonitor buildable under BeOS (at least BONE).
This is only temporary, to help test adding data sources, so the gross #ifdef __HAIKU__ are intentional to keep BeOS-only code (without layout support) trackable. It is not fully functional but sufficient for testing and will go away later. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25009 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -140,7 +140,11 @@ ActivityView::ActivityView(BRect frame, const char* name,
|
||||
|
||||
|
||||
ActivityView::ActivityView(const char* name, const BMessage* settings)
|
||||
#ifdef __HAIKU__
|
||||
: BView(name, B_WILL_DRAW | B_FULL_UPDATE_ON_RESIZE | B_FRAME_EVENTS)
|
||||
#else
|
||||
: BView(BRect(0,0,300,200), name, B_FOLLOW_NONE, B_WILL_DRAW | B_FULL_UPDATE_ON_RESIZE | B_FRAME_EVENTS)
|
||||
#endif
|
||||
{
|
||||
_Init(settings);
|
||||
|
||||
@@ -359,6 +363,7 @@ ActivityView::DetachedFromWindow()
|
||||
}
|
||||
|
||||
|
||||
#ifdef __HAIKU__
|
||||
BSize
|
||||
ActivityView::MinSize()
|
||||
{
|
||||
@@ -368,6 +373,7 @@ ActivityView::MinSize()
|
||||
|
||||
return size;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user