From 470523054d86ee8a1f966d0e6108561f89d8208a Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Tue, 20 Feb 2007 06:55:44 +0000 Subject: [PATCH] removed unused files git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20177 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/preferences/time/TimeView.cpp | 58 ------------------------------- src/preferences/time/TimeView.h | 21 ----------- 2 files changed, 79 deletions(-) delete mode 100644 src/preferences/time/TimeView.cpp delete mode 100644 src/preferences/time/TimeView.h diff --git a/src/preferences/time/TimeView.cpp b/src/preferences/time/TimeView.cpp deleted file mode 100644 index d23403fede..0000000000 --- a/src/preferences/time/TimeView.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/* - - TimeView.cpp - -*/ -#include -#include -#include - -#include "TimeView.h" -#include "TimeMessages.h" - - -TimeView::TimeView(BRect rect) - : BBox(rect, "time_view", - B_FOLLOW_ALL, B_FRAME_EVENTS | B_NAVIGABLE_JUMP, - B_PLAIN_BORDER) -{ - BTabView *fTabView; - BTab *fTab; - BView *fView; - BRect frame; - - - SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR)); - - frame = Bounds(); - frame.top = 100; - fTabView = new BTabView(frame,"tab_view"); - - - // 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); - fView->SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR)); - fTabView->AddTab(fView,fTab); - fTab->SetLabel("Settings"); - - // 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); - fView->SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR)); - fTabView->AddTab(fView,fTab); - fTab->SetLabel("Time Zone"); - - // Finally lets add the TabView to the view... - AddChild(fTabView); - -} - - -void TimeView::Draw(BRect updateFrame) -{ - inherited::Draw(updateFrame); - -} diff --git a/src/preferences/time/TimeView.h b/src/preferences/time/TimeView.h deleted file mode 100644 index 77b7f2efa6..0000000000 --- a/src/preferences/time/TimeView.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - - TimeView.h - -*/ - -#ifndef TIME_VIEW_H -#define TIME_VIEW_H - -#include - -class TimeView : public BBox -{ - public: - typedef BBox inherited; - - TimeView(BRect frame); - virtual void Draw(BRect frame); -}; - -#endif