mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-15 06:19:58 +01:00
Added bitmap icons generated using first drafts from Nuno Pinheiro.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1767 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
BIN
ico/windows_icon/application-x-qet-titleblock.ico
Normal file
BIN
ico/windows_icon/application-x-qet-titleblock.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 97 KiB |
@@ -2,17 +2,18 @@
|
||||
# Dependance : png2ico
|
||||
PNG_DIR="../oxygen-icons"
|
||||
|
||||
if [ -z "$(which png2ico 2> /dev/null)" ]; then
|
||||
echo "Error: png2ico not found."
|
||||
if [ -z "$(which icotool 2> /dev/null)" ]; then
|
||||
echo "Error: icotool not found."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
function generateIcon {
|
||||
echo "Generating icon from files ${1}.png in ${PNG_DIR}."
|
||||
png2ico "${1}.ico" $(find "${PNG_DIR}" -name "${1}.png" | grep -v 2[25])
|
||||
icotool -c -o "${1}.ico" $(find "${PNG_DIR}" -name "${1}.png" | grep -v 2[25])
|
||||
}
|
||||
|
||||
generateIcon qelectrotech
|
||||
generateIcon application-x-qet-element
|
||||
generateIcon application-x-qet-project
|
||||
generateIcon application-x-qet-titleblock
|
||||
|
||||
|
||||
Reference in New Issue
Block a user