1#ifndef COIN_SOGUICOLOREDITOR_H
2#define COIN_SOGUICOLOREDITOR_H
3
4// @configure_input@
5
6/**************************************************************************\
7 *
8 *  This file is part of the Coin 3D visualization library.
9 *  Copyright (C) by Kongsberg Oil & Gas Technologies.
10 *
11 *  This library is free software; you can redistribute it and/or
12 *  modify it under the terms of the GNU General Public License
13 *  ("GPL") version 2 as published by the Free Software Foundation.
14 *  See the file LICENSE.GPL at the root directory of this source
15 *  distribution for additional information about the GNU GPL.
16 *
17 *  For using Coin with software that can not be combined with the GNU
18 *  GPL, and for taking advantage of the additional benefits of our
19 *  support services, please contact Kongsberg Oil & Gas Technologies
20 *  about acquiring a Coin Professional Edition License.
21 *
22 *  See http://www.coin3d.org/ for more information.
23 *
24 *  Kongsberg Oil & Gas Technologies, Bygdoy Alle 5, 0257 Oslo, NORWAY.
25 *  http://www.sim.no/  sales@sim.no  coin-support@coin3d.org
26 *
27\**************************************************************************/
28
29#include <Inventor/fields/SoSFBool.h>
30#include <Inventor/fields/SoSFEnum.h>
31#include <Inventor/fields/SoSFColor.h>
32#include <Inventor/nodekits/SoBaseKit.h>
33
34class SoGuiColorEditor : public SoBaseKit {
35  typedef SoBaseKit inherited;
36  SO_KIT_HEADER(SoGuiColorEditor);
37  SO_KIT_CATALOG_ENTRY_HEADER(root);
38
39public:
40  static void initClass(void);
41  SoGuiColorEditor(void);
42
43  enum Sliders {
44    NONE,
45    INTENSITY,
46    RGB,
47    HSV,
48    RGB_V,
49    RGB_HSV
50  };
51
52  enum Update {
53    CONTINUOUS,
54    AFTER_ACCEPT
55  };
56
57  SoSFEnum sliders;
58  SoSFEnum update;
59  SoSFBool wysiwyg;
60  SoSFColor color;
61
62protected:
63  ~SoGuiColorEditor(void);
64
65private:
66  void * internals;
67
68};
69
70#endif // !COIN_SOGUICOLOREDITOR_H
71