time is beos compatible

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15964 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2006-01-15 22:38:22 +00:00
parent 68b4d23acc
commit f38c267be6
4 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -349,7 +349,7 @@ TCalendarView::Draw(BRect updaterect)
float offset = FontHeight(this, true); float offset = FontHeight(this, true);
for (int i = 0; i < 7; i++) { for (int i = 0; i < 7; i++) {
day = kDays[i]; day = BString(&kDays[i], 1);
width = be_plain_font->StringWidth(day.String()); width = be_plain_font->StringWidth(day.String());
drawpt.x = bounds.left + (x - width / 2.0 + 2); drawpt.x = bounds.left + (x - width / 2.0 + 2);
drawpt.y = bounds.bottom - offset / 2.0; drawpt.y = bounds.bottom - offset / 2.0;
+3 -1
View File
@@ -1,5 +1,7 @@
SubDir HAIKU_TOP src preferences time ; SubDir HAIKU_TOP src preferences time ;
SetSubDirSupportedPlatformsBeOSCompatible ;
Preference Time : Preference Time :
AnalogClock.cpp AnalogClock.cpp
BaseView.cpp BaseView.cpp
@@ -15,7 +17,7 @@ Preference Time :
TimeWindow.cpp TimeWindow.cpp
TZDisplay.cpp TZDisplay.cpp
ZoneView.cpp ZoneView.cpp
: libbe.so : be
: Time.rdef : Time.rdef
; ;
+1
View File
@@ -6,6 +6,7 @@
#ifndef SETTINGS_VIEW_H #ifndef SETTINGS_VIEW_H
#define SETTINGS_VIEW_H #define SETTINGS_VIEW_H
#include <RadioButton.h>
#include <View.h> #include <View.h>
#include "AnalogClock.h" #include "AnalogClock.h"
+2
View File
@@ -8,7 +8,9 @@
#include <ListItem.h> #include <ListItem.h>
#include <ListView.h>
#include <Path.h> #include <Path.h>
#include <PopUpMenu.h>
#include <View.h> #include <View.h>
#include "TZDisplay.h" #include "TZDisplay.h"