@IconSettings.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /******************************************************************************/
  2. /******************************************************************************/
  3. class IconSettings
  4. {
  5. bool mip_maps ,
  6. auto_center ,
  7. light0_shadow ,
  8. light1_shadow ;
  9. ElmImage::TYPE type ;
  10. int width ,
  11. height ;
  12. flt scale ,
  13. fov ,
  14. ambient_occl ,
  15. ambient_range ,
  16. bloom_original,
  17. bloom_scale ,
  18. bloom_cut ;
  19. Vec cam_angle ,
  20. cam_focus ,
  21. ambient_col ,
  22. light0_col ,
  23. light1_col ;
  24. Vec2 light0_angle ,
  25. light1_angle ;
  26. TimeStamp mip_maps_time, auto_center_time, light0_shadow_time, light1_shadow_time, type_time, width_time, height_time, scale_time, fov_time,
  27. cam_angle_time, cam_focus_time,
  28. ambient_col_time, ambient_occl_time, ambient_range_time,
  29. bloom_original_time, bloom_scale_time, bloom_cut_time,
  30. light0_col_time, light1_col_time, light0_angle_time, light1_angle_time;
  31. bool newer(C IconSettings &src)C;
  32. bool equal(C IconSettings &src)C;
  33. // operations
  34. void reset();
  35. bool sync(C IconSettings &src);
  36. bool undo(C IconSettings &src);
  37. bool save(File &f)C;
  38. bool load(File &f);
  39. bool load(C Str &name);
  40. public:
  41. IconSettings();
  42. };
  43. /******************************************************************************/
  44. /******************************************************************************/
  45. /******************************************************************************/