Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. ;;================================================================================================;;
  2. ;;//// ico.inc //// (c) diamond, 2009 ////////////////////////////////////////////////////////////;;
  3. ;;================================================================================================;;
  4. ;;                                                                                                ;;
  5. ;; This file is part of Common development libraries (Libs-Dev).                                  ;;
  6. ;;                                                                                                ;;
  7. ;; Libs-Dev is free software: you can redistribute it and/or modify it under the terms of the GNU ;;
  8. ;; Lesser General Public License as published by the Free Software Foundation, either version 2.1 ;;
  9. ;; of the License, or (at your option) any later version.                                         ;;
  10. ;;                                                                                                ;;
  11. ;; Libs-Dev is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without  ;;
  12. ;; even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU  ;;
  13. ;; Lesser General Public License for more details.                                                ;;
  14. ;;                                                                                                ;;
  15. ;; You should have received a copy of the GNU Lesser General Public License along with Libs-Dev.  ;;
  16. ;; If not, see <http://www.gnu.org/licenses/>.                                                    ;;
  17. ;;                                                                                                ;;
  18. ;;================================================================================================;;
  19.  
  20. struct ico.FileHeader
  21.   Reserved   dw ? ; must be 0
  22.   Type       dw ? ; must be 1
  23.   Count      dw ?
  24. ends
  25.  
  26. struct ico.DirEntry
  27.   Width       db ?
  28.   Height      db ?
  29.   ColorCount  db ?
  30.               db ? ; reseved
  31.               dw ? ; reserved
  32.               dw ? ; reserved
  33.   ByteSize    dd ?
  34.   ImageOffset dd ?
  35. ends
  36.  
  37. struct cur.DirEntry
  38.   Width       db ?
  39.   Height      db ?
  40.   ColorCount  db ?
  41.               db ? ; reserved
  42.   XHotSpot    dw ?
  43.   YHotSpot    dw ?
  44.   ByteSize    dd ?
  45.   ImageOffset dd ?
  46. ends
  47.