Subversion Repositories Kolibri OS

Rev

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

  1. ;;================================================================================================;;
  2. ;;//// xcf.inc //// (c) dunkaist, 2011-2012 //////////////////////////////////////////////////////;;
  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. XCF_BASETYPE_RGB        =       0
  21. XCF_BASETYPE_GRAY       =       1
  22. XCF_BASETYPE_INDEXED    =       2
  23.  
  24. struct  xcf_header
  25.         magic_string    rb      9
  26.         version         rd      1
  27.         reserved        rb      1
  28.         width           rd      1
  29.         height          rd      1
  30.         base_type       rd      1
  31. ends
  32.  
  33. struct  xcf_ext
  34.         visible         rd      1
  35.         layer_mode      rd      1
  36.         offset_x        rd      1
  37.         offset_y        rd      1
  38.         opacity         rd      1
  39.         apply_mask      rd      1
  40.         type            rd      1
  41.         planes          rd      1
  42. ends
  43.