mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 21:17:44 +01:00
[MIRROR] [READY] Adds notification support to modular computer apps, updates CIMS to use it (#1715)
* [READY] Adds notification support to modular computer apps, updates CIMS to use it * Update tgui.bundle.js Co-authored-by: zxaber <37497534+zxaber@users.noreply.github.com> Co-authored-by: Azarak <azarak10@gmail.com>
This commit is contained in:
@@ -35,6 +35,12 @@
|
||||
var/ui_header = null
|
||||
/// Font Awesome icon to use as this program's icon in the modular computer main menu. Defaults to a basic program maximize window icon if not overridden.
|
||||
var/program_icon = "window-maximize-o"
|
||||
/// Whether this program can send alerts while minimized or closed. Used to show a mute button per program in the file manager
|
||||
var/alert_able = FALSE
|
||||
/// Whether the user has muted this program's ability to send alerts.
|
||||
var/alert_silenced = FALSE
|
||||
/// Whether to highlight our program in the main screen. Intended for alerts, but loosely available for any need to notify of changed conditions. Think Windows task bar highlighting. Available even if alerts are muted.
|
||||
var/alert_pending = FALSE
|
||||
|
||||
/datum/computer_file/program/New(obj/item/modular_computer/comp = null)
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user