1
0
Fork 0
forked from Miroirs/x49gp

color2rgb() is dead code

This commit is contained in:
Gwenhael Le Moine 2024-11-07 13:04:26 +01:00
parent f201e44082
commit 8e5e5c4528
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -1586,11 +1586,6 @@ static int draw_lcd( GtkWidget* widget, GdkEventConfigure* event, gpointer user_
return false;
}
static inline unsigned color2rgb( x49gp_ui_t* ui, int color )
{
return 0x000000 | ( ui->colors[ color ].red << 8 ) | ( ui->colors[ color ].green << 16 ) | ( ui->colors[ color ].blue );
}
static gboolean react_to_window_click( GtkWidget* widget, GdkEventButton* event, gpointer user_data )
{
#ifdef DEBUG_X49GP_UI