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:
François Revol
2008-04-17 19:46:52 +00:00
parent 3ddc1cdb8b
commit cbd4bc9573
6 changed files with 69 additions and 1 deletions
@@ -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