@@ -738,21 +738,21 @@ gnwinfo_draw_main_window(struct nk_context* ctx, float width, float height)
738
738
g_ctx .gui_ratio = rect .h / rect .w ;
739
739
740
740
nk_layout_row_push (ctx , g_ctx .gui_ratio );
741
- if (quick_access_button (ctx , GET_PNG (IDR_PNG_SETTINGS ), N_ (N__SETTINGS )))
741
+ if (nk_button_image_hover (ctx , GET_PNG (IDR_PNG_SETTINGS ), N_ (N__SETTINGS )))
742
742
g_ctx .window_flag |= GUI_WINDOW_SETTINGS ;
743
743
nk_layout_row_push (ctx , g_ctx .gui_ratio );
744
- if (quick_access_button (ctx , GET_PNG (IDR_PNG_REFRESH ), N_ (N__REFRESH )))
744
+ if (nk_button_image_hover (ctx , GET_PNG (IDR_PNG_REFRESH ), N_ (N__REFRESH )))
745
745
{
746
746
gnwinfo_ctx_update (IDT_TIMER_1M );
747
747
gnwinfo_ctx_update (IDT_TIMER_DISK );
748
748
gnwinfo_ctx_update (IDT_TIMER_DISPLAY );
749
749
gnwinfo_ctx_update (IDT_TIMER_SMB );
750
750
}
751
751
nk_layout_row_push (ctx , g_ctx .gui_ratio );
752
- if (quick_access_button (ctx , GET_PNG (IDR_PNG_INFO ), N_ (N__ABOUT )))
752
+ if (nk_button_image_hover (ctx , GET_PNG (IDR_PNG_INFO ), N_ (N__ABOUT )))
753
753
g_ctx .window_flag |= GUI_WINDOW_ABOUT ;
754
754
nk_layout_row_push (ctx , g_ctx .gui_ratio );
755
- if (quick_access_button (ctx , GET_PNG (IDR_PNG_CLOSE ), N_ (N__CLOSE )))
755
+ if (nk_button_image_hover (ctx , GET_PNG (IDR_PNG_CLOSE ), N_ (N__CLOSE )))
756
756
gnwinfo_ctx_exit ();
757
757
nk_layout_row_end (ctx );
758
758
0 commit comments