soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
SCalendar.cpp File Reference

SCalendarCore以及SCalendar类源文件 More...

#include "souistd.h"
#include "control/SCalendar.h"
#include "helper/STime.h"

Go to the source code of this file.

Macros

#define REFTYPE_SUJIU   1
 
#define REFTYPE_MEIYU   2
 
#define REFTYPE_SANFU   3
 
#define TITLE_HEIGHT   20.f
 
#define FOOTER_HEIGHT   20.f
 
#define NAME_BTN_TODAY   "btn_today"
 
#define NAME_LABEL_TODAY   "label_today"
 

Variables

SNSBEGIN WORD gLunarMonthDay []
 
BYTE gLunarMonth []
 
BYTE gLunarHolDay []
 
WORD const DayOrdinal [13] = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 }
 
WORD const DayOrdinalLeap [13] = { 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366 }
 

Detailed Description

SCalendarCore以及SCalendar类源文件

Copyright (C) 2014-2050 SOUI团队 All rights reserved.

Version
v1.0
Author
soui
Date
2014-05-25

Describe 时间控件相关函数实现

Definition in file SCalendar.cpp.

Macro Definition Documentation

◆ FOOTER_HEIGHT

#define FOOTER_HEIGHT   20.f

Definition at line 37 of file SCalendar.cpp.

◆ NAME_BTN_TODAY

#define NAME_BTN_TODAY   "btn_today"

Definition at line 40 of file SCalendar.cpp.

◆ NAME_LABEL_TODAY

#define NAME_LABEL_TODAY   "label_today"

Definition at line 41 of file SCalendar.cpp.

◆ REFTYPE_MEIYU

#define REFTYPE_MEIYU   2

Definition at line 33 of file SCalendar.cpp.

◆ REFTYPE_SANFU

#define REFTYPE_SANFU   3

Definition at line 34 of file SCalendar.cpp.

◆ REFTYPE_SUJIU

#define REFTYPE_SUJIU   1

Definition at line 32 of file SCalendar.cpp.

◆ TITLE_HEIGHT

#define TITLE_HEIGHT   20.f

Definition at line 36 of file SCalendar.cpp.

Variable Documentation

◆ DayOrdinal

WORD const DayOrdinal[13] = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 }

Definition at line 43 of file SCalendar.cpp.

◆ DayOrdinalLeap

WORD const DayOrdinalLeap[13] = { 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366 }

Definition at line 44 of file SCalendar.cpp.