You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Being able to use extra pictures would be nice, allow some config class for Notifications to have extra paths (Because you like configs), or by given a path to a picture directly.
Something like this would work
private_imageSlug= (_dataselect0);
private_image=_imageSlugcall {
private_notifcationCfg=configFile>>"CfgSurfacePainter">>"Notifications">>_this;
if (isText (_notifcationCfg>>"path")) exitWith { getText (_notifcationCfg>>"path"); };
if ((_thisselect [count_this-4, 4]) ==".paa") exitWith { _this };
switch (toUpper_this) do {
case ("WARNING"): {"x\surface_painter\addons\sp_core\data\notification_yellow_co.paa"};
case ("NOK"): {"x\surface_painter\addons\sp_core\data\notification_red_co.paa"};
default {"x\surface_painter\addons\sp_core\data\notification_green_co.paa"};
};
};
The text was updated successfully, but these errors were encountered:
zgmrvn
changed the title
Enhancement: Allow given picture classes/paths to core_pushNotification
Allow given picture classes/paths to core_pushNotification
Oct 20, 2017
Being able to use extra pictures would be nice, allow some config class for Notifications to have extra paths (Because you like configs), or by given a path to a picture directly.
Something like this would work
The text was updated successfully, but these errors were encountered: