Skip to content
Snippets Groups Projects
Commit 1b59aaf0 authored by clohr's avatar clohr
Browse files

Exemple de user feedback renderer

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/C/trunk@1265 b32b6428-25c9-4566-ad07-03861ab6144f
parent 6737dc5d
No related branches found
No related tags found
No related merge requests found
......@@ -15,10 +15,11 @@ shopt -s nocasematch
case "$1" in
"info") TEMPLATE="template_info.svg" ;;
"warning") TEMPLATE="template_warning.svg" ;;
"alert") TEMPLATE="template_alert.svg" ;;
*) TEMPLATE="template_misc.sch"
"alarm") TEMPLATE="template_alarm.svg" ;;
*) TEMPLATE="template_misc.svg"
esac
sed -e "s/@MSGLEVEL@/$1/g;s/@MSGTEXT@/$MSG/g" "$TEMPLATE" > "$TMPSVG"
inkscape -f "$TMPSVG" -e "$TMPPNG"
convert "$TMPPNG" "$TMPJPG"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment