~sil2100/nux/revert_640

« back to all changes in this revision

Viewing changes to Nux/RGBValuator.h

  • Committer: Jay Taoko
  • Date: 2011-10-09 22:18:34 UTC
  • Revision ID: jay.taoko@canonical.com-20111009221834-9y890qzzj8rlp2r6
* Removing non-core UI views from Nux
* Refactoring in Layout
* Added LinearLayout.h/.cpp as a sub-class for HLayout and VLayout

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
    void SetColorFormat(color::Format cf);
62
62
    Color GetColor() const;
63
63
 
64
 
    virtual void Draw (GraphicsEngine &GfxContext, bool force_draw);
65
 
    virtual void DrawContent (GraphicsEngine &GfxContext, bool force_draw);
66
 
    virtual void PostDraw (GraphicsEngine &GfxContext, bool force_draw);
 
64
    virtual void Draw (GraphicsEngine &graphics_engine, bool force_draw);
 
65
    virtual void DrawContent (GraphicsEngine &graphics_engine, bool force_draw);
 
66
    virtual void PostDraw (GraphicsEngine &graphics_engine, bool force_draw);
67
67
 
68
68
    void SetRGB (Color const& color);
69
69
    void SetRGB (float r, float g, float b);
115
115
    virtual bool AcceptKeyNavFocus();
116
116
 
117
117
  private:
118
 
    void DrawRedMarker (GraphicsEngine &GfxContext);
119
 
    void DrawGreenMarker (GraphicsEngine &GfxContext);
120
 
    void DrawBlueMarker (GraphicsEngine &GfxContext);
121
 
    void DrawAlphaMarker (GraphicsEngine &GfxContext);
 
118
    void DrawRedMarker (GraphicsEngine &graphics_engine);
 
119
    void DrawGreenMarker (GraphicsEngine &graphics_engine);
 
120
    void DrawBlueMarker (GraphicsEngine &graphics_engine);
 
121
    void DrawAlphaMarker (GraphicsEngine &graphics_engine);
122
122
 
123
 
    void DrawRGB (GraphicsEngine &GfxContext);
124
 
    void DrawHSV (GraphicsEngine &GfxContext);
125
 
    void DrawHLS (GraphicsEngine &GfxContext);
 
123
    void DrawRGB (GraphicsEngine &graphics_engine);
 
124
    void DrawHSV (GraphicsEngine &graphics_engine);
 
125
    void DrawHLS (GraphicsEngine &graphics_engine);
126
126
 
127
127
    HLayout *hlayout;
128
128
    HLayout *redlayout;