Subversion Repositories Kolibri OS

Rev

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

  1. ;;================================================================================================;;
  2. ;;//// xcf.inc //// (c) dunkaist, 2011 ///////////////////////////////////////////////////////////;;
  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 xcf_header
  21.     magic_string    rb  9
  22.     version         rd  1
  23.     reserved        rb  1
  24.     width           rd  1
  25.     height          rd  1
  26.     base_type       rd  1
  27. ends
  28.  
  29. XCF_BASETYPE_RGB        equ 0
  30. XCF_BASETYPE_GRAY       equ 1
  31. XCF_BASETYPE_INDEXED    equ 2
  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