Ejemplo n.º 1
0
/* Main creation function */
EAPI void
eco_config_ring(void *data)
{
  ECO_PAGE_BEGIN("ring");
  ECO_PAGE_TABLE("Options");
  
  ECO_CREATE_SLIDER_DOUBLE(0, speed, "Ring speed", 0.1, 5.0, "%1.1f", 0, 0);
  ECO_CREATE_SLIDER_DOUBLE(0, timestep, "Timestep", 0.1, 5.0, "%1.1f", 0, 1);
  ECO_CREATE_SLIDER_INT(0, inactive_opacity, "Inactive window opacity", 1, 100, "%1.0f %%", 0, 2);
  ECO_CREATE_ENTRY(0, window_match, "Showed windows", 0, 3);
  ECO_CREATE_CHECKBOX(0, overlay_icon, "Show emblem icons", 0, 4);
  ECO_CREATE_CHECKBOX(0, darken_back, "Darken background", 0, 5);
  ECO_CREATE_CHECKBOX(0, minimized, "Show minimized", 0, 6);
  ECO_CREATE_CHECKBOX(0, rotate_clockwise, "Rotate clockwise on next", 0, 7);
  ECO_CREATE_CHECKBOX(0, window_title, "Show Window Title", 0, 8);
  ECO_CREATE_CHECKBOX(0, title_font_bold, "Bold Font", 0, 9);
  ECO_CREATE_SLIDER_INT(0, title_font_size, "Font Size", 6, 40, "%1.0f", 0, 10);

  ECO_CREATE_SLIDER_INT(0, ring_width, "Ring Width", 1, 100, "%1.0f %%", 0, 11);
  ECO_CREATE_SLIDER_INT(0, ring_height, "Ring Height", 1, 100, "%1.0f %%", 0, 12);

  ECO_CREATE_SLIDER_INT(0, thumb_width, "Thumb Width", 10, 400, "%1.0f", 0, 13);
  ECO_CREATE_SLIDER_INT(0, thumb_height, "Thumb Height", 10, 400, "%1.0f", 0, 14);

  ECO_CREATE_SLIDER_DOUBLE(0, min_scale, "Minimum Scale Factor", 0.1, 1.0, "%1.1f", 0, 15);
  ECO_CREATE_SLIDER_DOUBLE(0, min_brightness, "Minimum Brightness Factor", 0.1, 1.0, "%1.1f", 0, 16);

  ECO_PAGE_TABLE_END;
  ECO_PAGE_END;
}
Ejemplo n.º 2
0
/* Main creation function */
EAPI void
eco_config_blur(void *data)
{
  ECO_PAGE_BEGIN("blur");
  ECO_PAGE_TABLE("Options");
  ECO_CREATE_SLIDER_DOUBLE(0, blur_speed, "Blur speed", 0.1, 10.0, "%1.1f", 0, 0);
  ECO_CREATE_CHECKBOX(0, focus_blur, "Focus blurring", 0, 1);
  ECO_CREATE_ENTRY(0, focus_blur_match, "Focus blur matching", 0, 2);
  ECO_CREATE_CHECKBOX(0, alpha_blur, "Transparency blurring", 0, 3);
  ECO_CREATE_ENTRY(0, alpha_blur_match, "Transparency blur matching", 0, 4);
  ECO_CREATE_RADIO_GROUP(0, filter, "Filter", filters, NUM_FILTER, 0, 5);
  ECO_CREATE_SLIDER_INT(0, gaussian_radius, "Gausian radius", 1, 15, "%1.1f", 0, 9);
  ECO_CREATE_SLIDER_DOUBLE(0, gaussian_strength, "Gausian strength", 0.0, 1, "%1.1f", 0, 10);
  ECO_CREATE_SLIDER_DOUBLE(0, mipmap_lod, "Mipmap LOD", 0.1, 5, "%1.1f", 0, 11);
  ECO_CREATE_SLIDER_INT(0, saturation, "Saturation", 0, 100, "%1.1f", 0, 12);
  ECO_CREATE_CHECKBOX(0, occlusion, "occlusion", 0, 13);
  ECO_PAGE_TABLE_END;
  ECO_PAGE_END;
}
Ejemplo n.º 3
0
/* Main creation function */
EAPI void
eco_config_decoration(void *data)
{
  ECO_PAGE_BEGIN("decoration");
  ECO_PAGE_TABLE("Normal Shadow");

  ECO_CREATE_SLIDER_DOUBLE(-1, shadow_radius, "Radius", 0.0, 48.0, "%1.1f", 0, 0);
  ECO_CREATE_SLIDER_DOUBLE(-1, shadow_opacity, "Opacity", 0.0, 1.0, "%1.2f", 0, 1);
  ECO_CREATE_SLIDER_INT(-1,    shadow_x_offset, "Offset X", -16, 16, "%1.0f", 0, 2);
  ECO_CREATE_SLIDER_INT(-1,    shadow_y_offset, "Offset Y", -16, 16, "%1.0f", 0, 3);
  ECO_CREATE_ENTRY(-1, shadow_match, "Match Windows", 0, 4);
  ECO_PAGE_TABLE_END;
  
  ECO_PAGE_TABLE("Second Shadow (e.g. Menus))");
  ECO_CREATE_SLIDER_DOUBLE(-1, menu_shadow_radius, "Radius", 0.0, 48.0, "%1.1f", 0, 0);
  ECO_CREATE_SLIDER_DOUBLE(-1, menu_shadow_opacity, "Opacity", 0.0, 1.0, "%1.2f", 0, 1);
  ECO_CREATE_SLIDER_INT(-1,    menu_shadow_x_offset, "Offset X", -16, 16, "%1.0f", 0, 2);
  ECO_CREATE_SLIDER_INT(-1,    menu_shadow_y_offset, "Offset Y", -16, 16, "%1.0f", 0, 3);
  ECO_CREATE_ENTRY(-1,         menu_shadow_match, "Match Windows", 0, 4);
  ECO_PAGE_TABLE_END;

  ECO_PAGE_END;
}
Ejemplo n.º 4
0
/* Main creation function */
EAPI void
eco_config_shift(void *data)
{
  ECO_PAGE_BEGIN("shift");
  ECO_PAGE_TABLE(_("Options"));
  ECO_CREATE_SLIDER_DOUBLE(0, speed, _("Fade animation speed"),
			   0.1, 10.0, "%1.1f", 0, 0);
  ECO_CREATE_SLIDER_DOUBLE(0, shift_speed, _("Shift animation speed"),
			   0.1, 5.0, "%1.1f", 0, 1);
  /* this seems to have no effect here */
  /* ECO_CREATE_SLIDER_DOUBLE(0, timestep, _("Timestep"),
   * 			   0.1, 5.0, "%1.1f", 0, 2); */
  ECO_CREATE_ENTRY(0, window_match, _("Showed windows"), 0, 2);

  ECO_CREATE_CHECKBOX(0, minimized, _("Show minimized"), 0, 3);
  ECO_CREATE_CHECKBOX(0, mipmaps, _("Use Mipmaps (better quality)"), 0, 4);
  ECO_PAGE_TABLE_END;
  
  ECO_PAGE_TABLE("Appearance");
  ECO_CREATE_CHECKBOX(0, reflection, _("Enable reflection"), 0, 0);
  ECO_CREATE_SLIDER_INT(0, size, _("Maximum window size"),
			   1, 100, "%1.0f %%", 0, 1);
  ECO_CREATE_SLIDER_DOUBLE(0, background_intensity, _("Background intensity"),
			   0.0, 1.0, "%1.2f", 0, 2);
  ECO_CREATE_CHECKBOX(0, overlay_icon, _("Show emblem icons"), 0, 3);
  ECO_CREATE_CHECKBOX(0, hide_all, _("Hide dock windows"), 0, 4);

  ECO_CREATE_RADIO_GROUP(0, mode, _("Switcher Mode"), modes, NUM_MODES, 0, 5);
  ECO_CREATE_SLIDER_INT(0, flip_rotation, _("Flip Rotation Angle"),
			1, 100, "%1.0f %%", 0, 6);

  ECO_CREATE_SLIDER_DOUBLE(0, cover_offset, _("Cover movement offset"),
			   -0.4, 0.2, "%1.1f", 0, 7);
  ECO_PAGE_TABLE_END;

  ECO_PAGE_TABLE(_("Window title"));
  ECO_CREATE_CHECKBOX(0, window_title, _("Show window title"), 0, 0);
  ECO_CREATE_CHECKBOX(0, title_font_bold, _("Use Bold font"), 0, 1);
  ECO_CREATE_SLIDER_INT(0, title_font_size, _("Font size"),
			6, 96, "%1.0f", 0, 2);
  
  ECO_CREATE_RADIO_GROUP(0, title_text_placement, _("Title placement"),
			 placement, NUM_PLACEMENT, 0, 3);
  ECO_PAGE_TABLE_END;
  
  ECO_PAGE_END;
}