-
Notifications
You must be signed in to change notification settings - Fork 0
/
maScreen.h
59 lines (48 loc) · 1.9 KB
/
maScreen.h
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
54
55
56
57
58
59
//
// MultiArp - Another step in the Great Midi Adventure!
// Copyright (C) 2017, 2018 Barry Neilsen
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
//////////////////////////////////////////////////////////////////////////////
#ifndef MASCREEN_H_INCLUDED
#define MASCREEN_H_INCLUDED
#include "maTextUI.h"
#include "maCairoUI.h"
// Screen locations
// At the moment these are common to text and cairo UIs, so
// maybe they should stay here.
#define COMMAND_HOME 6,4
#define STAT_POS_TOPLINE 0,0
#define STAT_POS_STEP TextUI::progress_panel, 0,0
#define STAT_POS_PATTERN TextUI::small_panel, 1,0
#define STAT_POS_PATTERN_EDIT TextUI::small_panel, 2,0
#define STAT_POS_2 5,4
#define STAT_POS_MENU 1,4
void set_status(int y, int x, const char *format, ... );
void set_status_w(TextUI::window_area_t area, int y, int x, const char *format, ...);
void place_cursor(int row, int col);
void highlight_pattern_panel();
void set_top_line();
void show_status();
void show_translation_status();
void show_translation_map_status();
void show_listbuilder_status();
void show_status_after_navigation();
void update_edit_panels(bool refreshList = false);
void update_pattern_panel();
void update_pattern_panel_2();
void update_pattern_status_panel();
void update_progress_bar();
#endif // MASCREEN_H_INCLUDED