diff --git a/src/widget.cc b/src/widget.cc index b16820c..df48a57 100644 --- a/src/widget.cc +++ b/src/widget.cc @@ -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) diff --git a/src/widget.h b/src/widget.h index 14e2e6e..96540a3 100644 --- a/src/widget.h +++ b/src/widget.h @@ -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);