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

View File

@ -349,7 +349,7 @@ TCalendarView::Draw(BRect updaterect)
float offset = FontHeight(this, true);
for (int i = 0; i < 7; i++) {
day = kDays[i];
day = BString(&kDays[i], 1);
width = be_plain_font->StringWidth(day.String());
drawpt.x = bounds.left + (x - width / 2.0 + 2);
drawpt.y = bounds.bottom - offset / 2.0;

View File

@ -1,5 +1,7 @@
SubDir HAIKU_TOP src preferences time ;
SetSubDirSupportedPlatformsBeOSCompatible ;
Preference Time :
AnalogClock.cpp
BaseView.cpp
@ -15,7 +17,7 @@ Preference Time :
TimeWindow.cpp
TZDisplay.cpp
ZoneView.cpp
: libbe.so
: be
: Time.rdef
;

View File

@ -6,6 +6,7 @@
#ifndef SETTINGS_VIEW_H
#define SETTINGS_VIEW_H
#include <RadioButton.h>
#include <View.h>
#include "AnalogClock.h"

View File

@ -8,7 +8,9 @@
#include <ListItem.h>
#include <ListView.h>
#include <Path.h>
#include <PopUpMenu.h>
#include <View.h>
#include "TZDisplay.h"