Cleanup widget.h

This commit is contained in:
k3tamina 2022-06-26 22:43:26 +02:00
parent ead439335e
commit c928a95b02
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);