~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/widgets/sp-color-selector.h

  • Committer: kidproto
  • Date: 2006-08-25 07:03:19 UTC
  • Revision ID: kidproto@users.sourceforge.net-20060825070319-49nso3fdlwuveifv
peeled back the gboolean code as it hit on some complexity theory principles...
need to rethink and incrementally change gbooleans to bools

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    virtual guint getSubmode() const;
33
33
 
34
34
    virtual SPColorSpaceType getColorspace() const;
35
 
    virtual bool setColorspace( SPColorSpaceType colorspace );
 
35
    virtual gboolean setColorspace( SPColorSpaceType colorspace );
36
36
 
37
37
protected:
38
38
    void _grabbed();
39
39
    void _released();
40
 
    void _updateInternals( const SPColor& color, gfloat alpha, bool held );
41
 
    bool _isHeld() const { return _held; }
 
40
    void _updateInternals( const SPColor& color, gfloat alpha, gboolean held );
 
41
    gboolean _isHeld() const { return _held; }
42
42
 
43
43
    virtual void _colorChanged( const SPColor& color, gfloat alpha );
44
44
 
53
53
    ColorSelector( const ColorSelector& obj );
54
54
    ColorSelector& operator=( const ColorSelector& obj );
55
55
 
56
 
    bool _held;
 
56
    gboolean _held;
57
57
 
58
58
    bool virgin; // if true, no color is set yet
59
59
};