mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-11-30 22:44:15 +01:00
Improve RTC component name
This commit is contained in:
parent
e83991a987
commit
09d9648f6a
@ -72,8 +72,8 @@ void adjust_rtc_time( struct tm *t, int incr ) {
|
|||||||
*t = *gmtime( ×tamp );
|
*t = *gmtime( ×tamp );
|
||||||
}
|
}
|
||||||
|
|
||||||
void component_editdatetime_draw ( struct tm t, rtc_field_t selected_field ) {
|
void rtc_ui_component_editdatetime_draw ( struct tm t, rtc_field_t selected_field ) {
|
||||||
// FIXME: move this to components.c once improved.
|
// FIXME: move this to ui_components.c once improved.
|
||||||
/* Format RTC date/time as strings */
|
/* Format RTC date/time as strings */
|
||||||
char full_dt[30];
|
char full_dt[30];
|
||||||
char current_selection_chars[30];
|
char current_selection_chars[30];
|
||||||
@ -227,7 +227,7 @@ static void draw (menu_t *menu, surface_t *d) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (is_editing_mode) {
|
if (is_editing_mode) {
|
||||||
component_editdatetime_draw(rtc_tm, editing_field_type);
|
rtc_ui_component_editdatetime_draw(rtc_tm, editing_field_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
rdpq_detach_show();
|
rdpq_detach_show();
|
||||||
|
Loading…
Reference in New Issue
Block a user