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
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 808 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
BIN
ico/windows_icon/application-x-qet-titleblock.ico
Normal file
|
After Width: | Height: | Size: 97 KiB |
@@ -2,17 +2,18 @@
|
|||||||
# Dependance : png2ico
|
# Dependance : png2ico
|
||||||
PNG_DIR="../oxygen-icons"
|
PNG_DIR="../oxygen-icons"
|
||||||
|
|
||||||
if [ -z "$(which png2ico 2> /dev/null)" ]; then
|
if [ -z "$(which icotool 2> /dev/null)" ]; then
|
||||||
echo "Error: png2ico not found."
|
echo "Error: icotool not found."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
function generateIcon {
|
function generateIcon {
|
||||||
echo "Generating icon from files ${1}.png in ${PNG_DIR}."
|
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 qelectrotech
|
||||||
generateIcon application-x-qet-element
|
generateIcon application-x-qet-element
|
||||||
generateIcon application-x-qet-project
|
generateIcon application-x-qet-project
|
||||||
|
generateIcon application-x-qet-titleblock
|
||||||
|
|
||||||
|
|||||||