Cleanup widget.h (#59)

This commit is contained in:
k3tamina 2022-07-05 08:20:20 +02:00 committed by GitHub
parent 0695947b49
commit 42988a0d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 11 deletions

View File

@ -4,14 +4,18 @@
#include "text_font.h"
#include "window.h"
static void _showRegion(int a1);
static int widgetGetTextFlags();
static unsigned char widgetGetHighlightColor();
// 0x50EB1C
const float flt_50EB1C = 31.0;
static const float flt_50EB1C = 31.0f;
// 0x50EB20
const float flt_50EB20 = 31.0;
static const float flt_50EB20 = 31.0f;
// 0x66E6A0
int _updateRegions[32];
static int _updateRegions[32];
// 0x4B5A64
void _showRegion(int a1)

View File

@ -1,19 +1,11 @@
#ifndef WIDGET_H
#define WIDGET_H
extern const float flt_50EB1C;
extern const float flt_50EB20;
extern int _updateRegions[32];
void _showRegion(int a1);
int _update_widgets();
int widgetGetFont();
int widgetSetFont(int a1);
int widgetGetTextFlags();
int widgetSetTextFlags(int a1);
unsigned char widgetGetTextColor();
unsigned char widgetGetHighlightColor();
int widgetSetTextColor(float a1, float a2, float a3);
int widgetSetHighlightColor(float a1, float a2, float a3);