-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSTART_FRAME.cpp
More file actions
53 lines (41 loc) · 1.01 KB
/
START_FRAME.cpp
File metadata and controls
53 lines (41 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#include "START_FRAME.h"
START_FRAME::START_FRAME()
{
Set_Frame();
}
void START_FRAME::Set_Frame()
{
console_ui.Set_Title("시 간 표 제 작 하 기");
console_ui.Insert_Menu("시 간 표 제 작");
console_ui.Insert_Menu("시 간 표 조 회");
console_ui.Insert_Menu("설 명");
console_ui.Insert_Menu("종 료");
making_chart.read_base_to_arr(BASE_CHART); // 기본 시간표형식을 읽는 메서드
}
void START_FRAME::Frame_Display()
{
while (1)
{
system("cls");
console_ui.Title_Display(48);
console_ui.Menu_Display();
int mode = console_ui.Control_Arrow();
switch (mode)
{
case STD_MENU_Y: // 시간표 제작
making_frame.Frame_Display(&making_chart);
break;
case STD_MENU_Y + 2: // 시간표 조회
view_chart_frame.Frame_Display(&making_chart);
break;
case STD_MENU_Y + 4: // 설명
explan_frame.Frame_Display();
break;
case STD_MENU_Y + 6: // 종료
exit(0);
}
}
}
void START_FRAME::Frame_Display(MAKING_CHART* making_chart)
{
}