* style adjustments - no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38124 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
|
||||
#include "SectionEdit.h"
|
||||
|
||||
|
||||
#include <DateTime.h>
|
||||
|
||||
|
||||
@@ -47,44 +46,45 @@ private:
|
||||
int32 _SectionValue(int32 index) const;
|
||||
|
||||
private:
|
||||
BDateTime fTime;
|
||||
bigtime_t fLastKeyDownTime;
|
||||
int32 fLastKeyDownInt;
|
||||
BDateTime fTime;
|
||||
bigtime_t fLastKeyDownTime;
|
||||
int32 fLastKeyDownInt;
|
||||
};
|
||||
|
||||
|
||||
class TDateEdit : public TSectionEdit {
|
||||
public:
|
||||
TDateEdit(BRect frame, const char *name,
|
||||
uint32 sections);
|
||||
virtual ~TDateEdit();
|
||||
virtual void KeyDown(const char* bytes, int32 numBytes);
|
||||
public:
|
||||
TDateEdit(BRect frame, const char* name,
|
||||
uint32 sections);
|
||||
virtual ~TDateEdit();
|
||||
virtual void KeyDown(const char* bytes, int32 numBytes);
|
||||
|
||||
virtual void InitView();
|
||||
virtual void DrawSection(uint32 index, bool isfocus);
|
||||
virtual void DrawSeparator(uint32 index);
|
||||
virtual void InitView();
|
||||
virtual void DrawSection(uint32 index, bool isfocus);
|
||||
virtual void DrawSeparator(uint32 index);
|
||||
|
||||
virtual void SetSections(BRect area);
|
||||
virtual void SectionFocus(uint32 index);
|
||||
virtual float SeparatorWidth() const;
|
||||
virtual void SetSections(BRect area);
|
||||
virtual void SectionFocus(uint32 index);
|
||||
virtual float SeparatorWidth() const;
|
||||
|
||||
virtual void DoUpPress();
|
||||
virtual void DoDownPress();
|
||||
virtual void DoUpPress();
|
||||
virtual void DoDownPress();
|
||||
|
||||
virtual void BuildDispatch(BMessage *message);
|
||||
virtual void BuildDispatch(BMessage* message);
|
||||
|
||||
void SetDate(int32 year, int32 month, int32 day);
|
||||
void SetDate(int32 year, int32 month, int32 day);
|
||||
|
||||
private:
|
||||
void _CheckRange();
|
||||
bool _IsValidDoubleDigi(int32 value);
|
||||
int32 _SectionValue(int32 index) const;
|
||||
private:
|
||||
void _CheckRange();
|
||||
bool _IsValidDoubleDigi(int32 value);
|
||||
int32 _SectionValue(int32 index) const;
|
||||
|
||||
private:
|
||||
BDate fDate;
|
||||
bigtime_t fLastKeyDownTime;
|
||||
int32 fLastKeyDownInt;
|
||||
private:
|
||||
BDate fDate;
|
||||
bigtime_t fLastKeyDownTime;
|
||||
int32 fLastKeyDownInt;
|
||||
};
|
||||
|
||||
|
||||
#endif // _DATE_TIME_EDIT_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user