f705611d81
* programs which use libs-dev updated accordingly * libimg: support for .ico and .cur files (icons and cursors) * kiv: show many different images in one file in one row git-svn-id: svn://kolibrios.org@1102 a494cfbc-eb01-0410-851d-a64ba20cac60
47 lines
2.3 KiB
HTML
47 lines
2.3 KiB
HTML
;;================================================================================================;;
|
|
;;//// ico.inc //// (c) diamond, 2009 ////////////////////////////////////////////////////////////;;
|
|
;;================================================================================================;;
|
|
;; ;;
|
|
;; This file is part of Common development libraries (Libs-Dev). ;;
|
|
;; ;;
|
|
;; Libs-Dev is free software: you can redistribute it and/or modify it under the terms of the GNU ;;
|
|
;; Lesser General Public License as published by the Free Software Foundation, either version 2.1 ;;
|
|
;; of the License, or (at your option) any later version. ;;
|
|
;; ;;
|
|
;; Libs-Dev is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without ;;
|
|
;; even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;;
|
|
;; Lesser General Public License for more details. ;;
|
|
;; ;;
|
|
;; You should have received a copy of the GNU Lesser General Public License along with Libs-Dev. ;;
|
|
;; If not, see <http://www.gnu.org/licenses/>. ;;
|
|
;; ;;
|
|
;;================================================================================================;;
|
|
|
|
struct ico.FileHeader
|
|
Reserved dw ? ; must be 0
|
|
Type dw ? ; must be 1
|
|
Count dw ?
|
|
ends
|
|
|
|
struct ico.DirEntry
|
|
Width db ?
|
|
Height db ?
|
|
ColorCount db ?
|
|
db ? ; reseved
|
|
dw ? ; reserved
|
|
dw ? ; reserved
|
|
ByteSize dd ?
|
|
ImageOffset dd ?
|
|
ends
|
|
|
|
struct cur.DirEntry
|
|
Width db ?
|
|
Height db ?
|
|
ColorCount db ?
|
|
db ? ; reserved
|
|
XHotSpot dw ?
|
|
YHotSpot dw ?
|
|
ByteSize dd ?
|
|
ImageOffset dd ?
|
|
ends
|