removed unused files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20177 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,58 +0,0 @@
|
|||||||
/*
|
|
||||||
|
|
||||||
TimeView.cpp
|
|
||||||
|
|
||||||
*/
|
|
||||||
#include <InterfaceDefs.h>
|
|
||||||
#include <TabView.h>
|
|
||||||
#include <View.h>
|
|
||||||
|
|
||||||
#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);
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
/*
|
|
||||||
|
|
||||||
TimeView.h
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef TIME_VIEW_H
|
|
||||||
#define TIME_VIEW_H
|
|
||||||
|
|
||||||
#include <Box.h>
|
|
||||||
|
|
||||||
class TimeView : public BBox
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
typedef BBox inherited;
|
|
||||||
|
|
||||||
TimeView(BRect frame);
|
|
||||||
virtual void Draw(BRect frame);
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
|
||||||
Reference in New Issue
Block a user