gimpconfigenums.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /* LIBGIMP - The GIMP Library
  2. * Copyright (C) 1995 Spencer Kimball and Peter Mattis
  3. *
  4. * gimpconfigenums.h
  5. * Copyright (C) 2004 Stefan Döhla <stefan@doehla.de>
  6. *
  7. * This library is free software: you can redistribute it and/or
  8. * modify it under the terms of the GNU Lesser General Public
  9. * License as published by the Free Software Foundation; either
  10. * version 3 of the License, or (at your option) any later version.
  11. *
  12. * This library is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * Library General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Lesser General Public
  18. * License along with this library. If not, see
  19. * <https://www.gnu.org/licenses/>.
  20. */
  21. #ifndef __GIMP_CONFIG_ENUMS_H__
  22. #define __GIMP_CONFIG_ENUMS_H__
  23. #define GIMP_TYPE_COLOR_MANAGEMENT_MODE (gimp_color_management_mode_get_type ())
  24. GType gimp_color_management_mode_get_type (void) G_GNUC_CONST;
  25. /**
  26. * GimpColorManagementMode:
  27. * @GIMP_COLOR_MANAGEMENT_OFF: Color management is off
  28. * @GIMP_COLOR_MANAGEMENT_DISPLAY: Color managed display
  29. * @GIMP_COLOR_MANAGEMENT_SOFTPROOF: Soft-proofing
  30. *
  31. * Modes of color management.
  32. **/
  33. typedef enum
  34. {
  35. GIMP_COLOR_MANAGEMENT_OFF, /*< desc="No color management" >*/
  36. GIMP_COLOR_MANAGEMENT_DISPLAY, /*< desc="Color-managed display" >*/
  37. GIMP_COLOR_MANAGEMENT_SOFTPROOF /*< desc="Soft-proofing" >*/
  38. } GimpColorManagementMode;
  39. #define GIMP_TYPE_COLOR_RENDERING_INTENT (gimp_color_rendering_intent_get_type ())
  40. GType gimp_color_rendering_intent_get_type (void) G_GNUC_CONST;
  41. /**
  42. * GimpColorRenderingIntent:
  43. * @GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL: Perceptual
  44. * @GIMP_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC: Relative colorimetric
  45. * @GIMP_COLOR_RENDERING_INTENT_SATURATION: Saturation
  46. * @GIMP_COLOR_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC: Absolute colorimetric
  47. *
  48. * Intents for color management.
  49. **/
  50. typedef enum
  51. {
  52. GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL, /*< desc="Perceptual" >*/
  53. GIMP_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC, /*< desc="Relative colorimetric" >*/
  54. GIMP_COLOR_RENDERING_INTENT_SATURATION, /*< desc="Saturation" >*/
  55. GIMP_COLOR_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC /*< desc="Absolute colorimetric" >*/
  56. } GimpColorRenderingIntent;
  57. #endif /* __GIMP_CONFIG_ENUMS_H__ */