@ElmIconSetts.h 1.1 KB

12345678910111213141516171819202122232425
  1. /******************************************************************************/
  2. /******************************************************************************/
  3. class ElmIconSetts : ElmData
  4. {
  5. ElmImage::TYPE type;
  6. virtual bool mayContain(C UID &id)C override;
  7. // operations
  8. void from(C IconSettings &src);
  9. uint undo(C ElmIconSetts &src); // don't adjust 'ver' here because it also relies on 'IconSettings', because of that this is included in 'ElmFileInShort'
  10. uint sync(C ElmIconSetts &src); // don't adjust 'ver' here because it also relies on 'IconSettings', because of that this is included in 'ElmFileInShort'
  11. // io
  12. virtual bool save(File &f)C override;
  13. virtual bool load(File &f)override;
  14. virtual void save(MemPtr<TextNode> nodes)C override;
  15. virtual void load(C MemPtr<TextNode> &nodes)override;
  16. public:
  17. ElmIconSetts();
  18. };
  19. /******************************************************************************/
  20. /******************************************************************************/
  21. /******************************************************************************/