Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lib/Constants.vala
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ namespace Granite {
/**
* Style class for "on-screen display" widgets such as {@link Granite.Toast} and {@link Granite.OverlayBar}
*/
[Version (deprecated = true, deprecated_since = "7.7.0", replacement = "Granite.CssClass.OSD")]
public const string STYLE_CLASS_OSD = "osd";
/**
* Style class for rounded corners, i.e. on a {@link Gtk.Window} or {@link Granite.STYLE_CLASS_CARD}
Expand Down Expand Up @@ -266,6 +267,11 @@ namespace Granite {
*/
public const string NUMERIC = "numeric";

/**
* Style class for "on-screen display" widgets in a {@Gtk.Overlay} such as {@link Granite.Box} or {@link Gtk.Button}
*/
public const string OSD = "osd";

/**
* Style class for a {@link Gtk.Label} to emulate Pango's "<small>" and "size='smaller'"
*/
Expand Down