{
}
-const char* BlondCVThemeMain::plugin_title()
-{
- return _("Blond-cv");
-}
+const char* BlondCVThemeMain::plugin_title() { return N_("Blond-cv"); }
Theme* BlondCVThemeMain::new_theme()
{
resources->text_default = 0x000000;
resources->text_background = 0xffffff;
+ resources->text_background_disarmed = 0xff0000;
resources->text_border1 = 0x4a484a; // (top outer)
resources->text_border2 = 0x000000; // (top inner)
resources->text_border3 = 0xacaeac; // (bottom inner)
"ff_down.png",
"ff_checkedhi.png");
+ proxy_p_toggle = new_image_set(5,
+ "proxy_p_up.png",
+ "proxy_p_hi.png",
+ "proxy_p_chkd.png",
+ "proxy_p_down.png",
+ "proxy_p_chkdhi.png");
+
+ proxy_s_toggle = new_image_set(5,
+ "proxy_s_up.png",
+ "proxy_s_hi.png",
+ "proxy_s_chkd.png",
+ "proxy_s_down.png",
+ "proxy_s_chkdhi.png");
+
shbtn_data = new_image_set(3,
"shbtn_up.png",
"shbtn_hi.png",
{
mbuttons_x = 0;
mbuttons_y = gui->mainmenu->get_h();
- mbuttons_w = w;
- mbuttons_h = mbutton_left->get_h();
+ mbuttons_w = w - (ffmpeg_toggle[0]->get_w()+2 + proxy_p_toggle[0]->get_w()+2);
+ mbuttons_h = get_image("mbutton_bg")->get_h();
mclock_x = 10;
mclock_y = mbuttons_y + mbuttons_h + CWINDOW_METER_MARGIN;
mclock_w = get_image("clock_bg")->get_w() - 40;