* 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 "SectionEdit.h"
|
||||||
|
|
||||||
|
|
||||||
#include <DateTime.h>
|
#include <DateTime.h>
|
||||||
|
|
||||||
|
|
||||||
@@ -54,8 +53,8 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
class TDateEdit : public TSectionEdit {
|
class TDateEdit : public TSectionEdit {
|
||||||
public:
|
public:
|
||||||
TDateEdit(BRect frame, const char *name,
|
TDateEdit(BRect frame, const char* name,
|
||||||
uint32 sections);
|
uint32 sections);
|
||||||
virtual ~TDateEdit();
|
virtual ~TDateEdit();
|
||||||
virtual void KeyDown(const char* bytes, int32 numBytes);
|
virtual void KeyDown(const char* bytes, int32 numBytes);
|
||||||
@@ -71,20 +70,21 @@ class TDateEdit : public TSectionEdit {
|
|||||||
virtual void DoUpPress();
|
virtual void DoUpPress();
|
||||||
virtual void DoDownPress();
|
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:
|
private:
|
||||||
void _CheckRange();
|
void _CheckRange();
|
||||||
bool _IsValidDoubleDigi(int32 value);
|
bool _IsValidDoubleDigi(int32 value);
|
||||||
int32 _SectionValue(int32 index) const;
|
int32 _SectionValue(int32 index) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BDate fDate;
|
BDate fDate;
|
||||||
bigtime_t fLastKeyDownTime;
|
bigtime_t fLastKeyDownTime;
|
||||||
int32 fLastKeyDownInt;
|
int32 fLastKeyDownInt;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // _DATE_TIME_EDIT_H
|
#endif // _DATE_TIME_EDIT_H
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user