Many updates by "Michael Berg" <[email protected]>

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8143 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Phil Greenway
2004-06-24 12:09:57 +00:00
parent 825849ba91
commit 1388993922
28 changed files with 1305 additions and 793 deletions
+4 -2
View File
@@ -10,6 +10,7 @@
#include "TimeView.h"
#include "TimeMessages.h"
TimeView::TimeView(BRect rect)
: BBox(rect, "time_view",
B_FOLLOW_ALL, B_FRAME_EVENTS | B_NAVIGABLE_JUMP,
@@ -31,7 +32,7 @@ TimeView::TimeView(BRect rect)
// Settings Tab...
fTab = new BTab();
fView = new BView(BRect(fTabView->Bounds().InsetByCopy(10, 10)),"settings_view",B_FOLLOW_ALL,
B_WILL_DRAW | B_FRAME_EVENTS | B_NAVIGABLE_JUMP);
B_WILL_DRAW | B_FRAME_EVENTS | B_NAVIGABLE_JUMP);
fView->SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
fTabView->AddTab(fView,fTab);
fTab->SetLabel("Settings");
@@ -39,7 +40,7 @@ TimeView::TimeView(BRect rect)
// Time Zone Tab...
fTab = new BTab();
fView = new BView(BRect(fTabView->Bounds().InsetByCopy(10, 10)),"time_zone_view",B_FOLLOW_ALL,
B_WILL_DRAW | B_FRAME_EVENTS | B_NAVIGABLE_JUMP);
B_WILL_DRAW | B_FRAME_EVENTS | B_NAVIGABLE_JUMP);
fView->SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
fTabView->AddTab(fView,fTab);
fTab->SetLabel("Time Zone");
@@ -49,6 +50,7 @@ TimeView::TimeView(BRect rect)
}
void TimeView::Draw(BRect updateFrame)
{
inherited::Draw(updateFrame);