hekate/nyx: utilize bdk global header

This commit is contained in:
CTCaer
2022-01-16 00:04:34 +02:00
parent a5cd962f99
commit 5894062b93
55 changed files with 97 additions and 389 deletions

View File

@@ -19,7 +19,7 @@
#ifndef _GFX_H_
#define _GFX_H_
#include <utils/types.h>
#include <bdk.h>
#define EPRINTF(text) gfx_printf("%k"text"%k\n", 0xFFFF0000, 0xFFCCCCCC)
#define EPRINTFARGS(text, args...) gfx_printf("%k"text"%k\n", 0xFFFF0000, args, 0xFFCCCCCC)

View File

@@ -15,12 +15,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <display/di.h>
#include <bdk.h>
#include "tui.h"
#include "../config.h"
#include <power/max17050.h>
#include <utils/btn.h>
#include <utils/util.h>
extern hekate_config h_cfg;

View File

@@ -18,8 +18,7 @@
#ifndef _TUI_H_
#define _TUI_H_
#include <utils/types.h>
#include <gfx_utils.h>
#include <bdk.h>
#define MENT_END 0
#define MENT_HANDLER 1