Static Public Member Functions | |
| static void | init (string[] args, string app_name) |
| static void | refresh_icon_theme () |
| static Gdk.? Pixbuf | lookup (string icon_name, int icon_size, bool symbolic=false, bool use_hardcoded=false, int scale=1) |
| static Gdk.? Pixbuf | lookup_gicon (GLib.Icon gicon, int icon_size) |
| static Gtk.Image | lookup_image (string icon_name, int icon_size, bool symbolic=false, bool use_hardcoded=false) |
| static Gtk.Button | button_from_icon (string icon_name, int icon_size, string? tooltip=null) |
| static Cairo.? Surface | lookup_surface (string icon_name, int icon_size, int scale=1, bool symbolic=false, bool use_hardcoded=false) |
| static Gdk.? Pixbuf | add_emblem (Gdk.Pixbuf pixbuf, string icon_name, int emblem_size, bool emblem_symbolic, Gtk.CornerType corner_type) |
| static Gdk.? Pixbuf | add_overlay (Gdk.Pixbuf pixbuf_base, Gdk.Pixbuf pixbuf_overlay) |
| static Gdk.? Pixbuf | resize_icon (Gdk.Pixbuf pixbuf_image, int icon_size) |
| static Gdk.? Pixbuf | add_transparency (Gdk.Pixbuf pixbuf, int opacity=130) |
| static Gdk.? Pixbuf | load_pixbuf_from_file (string file_path, int icon_size) |
Static Public Attributes | |
| static Gtk.IconTheme | theme |
| static Gee.ArrayList< string > | search_paths = new Gee.ArrayList<string>() |
| static bool | use_dark = false |
| const int | SHIELD_ICON_SIZE = 64 |
| const string | GENERIC_ICON_IMAGE = "image-x-generic" |
| const string | GENERIC_ICON_IMAGE_MISSING = "image-missing" |
| const string | GENERIC_ICON_VIDEO = "video-x-generic" |
| const string | GENERIC_ICON_FILE = "text-x-preview" |
| const string | GENERIC_ICON_ARCHIVE_FILE = "package-x-generic" |
| const string | GENERIC_ICON_DIRECTORY = "folder" |
| const string | GENERIC_ICON_ISO = "media-cdrom" |
| const string | GENERIC_ICON_PDF = "application-pdf" |
| const string | ICON_HARDDRIVE = "drive-harddisk" |
| const string | SHIELD_LIVE = "media-optical" |
| const string | SHIELD_LOW = "bastionguard-backup-shield-low" |
| const string | SHIELD_MED = "bastionguard-backup-shield-med" |
| const string | SHIELD_HIGH = "bastionguard-backup-shield-high" |
Definition at line 37 of file IconManager.vala.
|
inlinestatic |
Definition at line 200 of file IconManager.vala.
References lookup().
|
inlinestatic |
Definition at line 244 of file IconManager.vala.
Referenced by resize_icon().
|
inlinestatic |
Definition at line 280 of file IconManager.vala.
|
inlinestatic |
Definition at line 189 of file IconManager.vala.
References lookup_image().
Referenced by ExcludeBox.create_pattern_row().
|
inlinestatic |
Definition at line 65 of file IconManager.vala.
References TeeJee.FileSystem.dir_exists(), TeeJee.Logging.log_debug(), refresh_icon_theme(), and search_paths.
Referenced by Main.Main().
|
inlinestatic |
Definition at line 294 of file IconManager.vala.
References Error, and resize_icon().
Referenced by lookup().
|
inlinestatic |
Definition at line 111 of file IconManager.vala.
References Error, TeeJee.FileSystem.file_exists(), load_pixbuf_from_file(), TeeJee.FileSystem.path_combine(), ResourceHelper.resolve_icon_file(), ResourceHelper.resource_exists(), ResourceHelper.resource_prefix(), search_paths, and use_dark.
Referenced by AboutWindow.AboutWindow(), add_emblem(), BackupWindow.build_sidebar(), RestoreWindow.build_sidebar(), SettingsWindow.build_sidebar(), SetupWizardWindow.build_sidebar(), FileItem.get_icon(), MainWindow.init_snapshots_page(), lookup_gicon(), lookup_image(), BackupWindow.reload_themed_icons(), DeleteWindow.reload_themed_icons(), MainWindow.reload_themed_icons(), RestoreWindow.reload_themed_icons(), SettingsWindow.reload_themed_icons(), SetupWizardWindow.reload_themed_icons(), ScheduleBox.ScheduleBox(), MainWindow.update_statusbar(), and ScheduleBox.update_statusbar().
|
inlinestatic |
Definition at line 166 of file IconManager.vala.
References GENERIC_ICON_FILE, and lookup().
Referenced by FileItem.get_icon().
|
inlinestatic |
Definition at line 171 of file IconManager.vala.
References GENERIC_ICON_IMAGE_MISSING, and lookup().
Referenced by AboutWindow.AboutWindow(), BackupDeviceBox.add_device_row(), BackupDeviceBox.add_smb_row(), ImportDialog.build_ui(), button_from_icon(), ExcludeListSummaryWindow.create_actions(), HeaderFactory.create_main_headerbar(), ExcludeBox.create_pattern_row(), ExcludeMessageWindow.exclude_list_add_item(), MainWindow.init_about_page(), MainWindow.init_sidebar(), CustomMessageDialog.init_window(), BackupWindow.themed_icon(), DeleteWindow.themed_icon(), MainWindow.themed_icon(), RestoreWindow.themed_icon(), SettingsWindow.themed_icon(), and SetupWizardWindow.themed_icon().
|
inlinestatic |
Definition at line 196 of file IconManager.vala.
|
inlinestatic |
Definition at line 99 of file IconManager.vala.
References GTK_INITIALIZED, search_paths, and theme.
Referenced by init().
|
inlinestatic |
Definition at line 262 of file IconManager.vala.
References add_overlay().
Referenced by load_pixbuf_from_file().
|
static |
Definition at line 53 of file IconManager.vala.
|
static |
Definition at line 54 of file IconManager.vala.
|
static |
Definition at line 52 of file IconManager.vala.
Referenced by lookup_gicon().
|
static |
Definition at line 49 of file IconManager.vala.
|
static |
Definition at line 50 of file IconManager.vala.
Referenced by lookup_image().
|
static |
Definition at line 55 of file IconManager.vala.
|
static |
Definition at line 56 of file IconManager.vala.
|
static |
Definition at line 51 of file IconManager.vala.
|
static |
Definition at line 58 of file IconManager.vala.
Referenced by BackupDeviceBox.add_device_row().
|
static |
Definition at line 41 of file IconManager.vala.
Referenced by init(), lookup(), and refresh_icon_theme().
|
static |
Definition at line 63 of file IconManager.vala.
Referenced by MainWindow.init_snapshots_page(), ScheduleBox.ScheduleBox(), MainWindow.update_statusbar(), and ScheduleBox.update_statusbar().
|
static |
Definition at line 47 of file IconManager.vala.
Referenced by ScheduleBox.ScheduleBox(), and ScheduleBox.update_statusbar().
|
static |
Definition at line 60 of file IconManager.vala.
|
static |
Definition at line 61 of file IconManager.vala.
Referenced by MainWindow.update_statusbar(), and ScheduleBox.update_statusbar().
|
static |
Definition at line 62 of file IconManager.vala.
Referenced by MainWindow.update_statusbar().
|
static |
Definition at line 39 of file IconManager.vala.
Referenced by refresh_icon_theme().
|
static |
Definition at line 45 of file IconManager.vala.
Referenced by MainWindow.load_css(), lookup(), and MainWindow.MainWindow().