A color palette draw near the frame.
Definition at line 32 of file RPaletteDrawable.hxx.
Public Member Functions | |
RPaletteDrawable (const RPalette &palette) | |
RPaletteDrawable (const RPalette &palette, bool visible) | |
RPadLength | GetMargin () const |
const RPalette & | GetPalette () const |
RPadLength | GetSize () const |
bool | GetVisible () const |
RPaletteDrawable & | SetMargin (const RPadLength &pos) |
RPaletteDrawable & | SetSize (const RPadLength &sz) |
RPaletteDrawable & | SetVisible (bool on=true) |
![]() | |
RDrawable (const std::string &type) | |
virtual | ~RDrawable () |
void | ClearStyle () |
const std::string & | GetCssClass () const |
const std::string & | GetCssType () const |
const std::string & | GetId () const |
void | SetCssClass (const std::string &cl) |
void | SetId (const std::string &id) |
virtual void | UseStyle (const std::shared_ptr< RStyle > &style) |
Protected Member Functions | |
RPaletteDrawable () | |
bool | IsFrameRequired () const final |
![]() | |
RDrawable (const RDrawable &)=delete | |
virtual void | CollectShared (Internal::RIOSharedVector_t &) |
virtual std::unique_ptr< RDisplayItem > | Display (const RDisplayContext &) |
Creates display item for drawable By default item contains drawable data itself. | |
virtual void | Execute (const std::string &) |
RAttrMap & | GetAttrMap () |
const RAttrMap & | GetAttrMap () const |
Version_t | GetVersion () const |
bool | MatchSelector (const std::string &selector) const |
Preliminary method which checks if drawable matches with given selector Following selector are allowed: "type" or "#id" or ".class_name" Here type is drawable kind like 'rect' or 'pad' id is drawable identifier, specified with RDrawable::SetId() method class_name is drawable class name, specified with RDrawable::SetCssClass() method. | |
virtual void | OnDisplayItemDestroyed (RDisplayItem *) const |
RDrawable & | operator= (const RDrawable &)=delete |
virtual void | PopulateMenu (RMenuItems &) |
virtual void | SetDrawableVersion (Version_t vers) |
Private Attributes | |
RAttrValue< RPadLength > | fMargin {this, "margin", 0.02_normal} |
! margin | |
RPalette | fPalette |
color palette to draw | |
RAttrValue< RPadLength > | fSize {this, "size", 0.05_normal} |
! margin | |
RAttrValue< bool > | fVisible {this, "visible", true} |
! visibility flag | |
Additional Inherited Members | |
![]() | |
using | Version_t = uint64_t |
#include <ROOT/RPaletteDrawable.hxx>
|
inlineprotected |
Definition at line 43 of file RPaletteDrawable.hxx.
|
inline |
Definition at line 47 of file RPaletteDrawable.hxx.
|
inline |
Definition at line 48 of file RPaletteDrawable.hxx.
|
inline |
Definition at line 55 of file RPaletteDrawable.hxx.
|
inline |
Definition at line 49 of file RPaletteDrawable.hxx.
|
inline |
Definition at line 58 of file RPaletteDrawable.hxx.
|
inline |
Definition at line 52 of file RPaletteDrawable.hxx.
|
inlinefinalprotectedvirtual |
Reimplemented from ROOT::Experimental::RDrawable.
Definition at line 41 of file RPaletteDrawable.hxx.
|
inline |
Definition at line 54 of file RPaletteDrawable.hxx.
|
inline |
Definition at line 57 of file RPaletteDrawable.hxx.
|
inline |
Definition at line 51 of file RPaletteDrawable.hxx.
|
private |
! margin
Definition at line 36 of file RPaletteDrawable.hxx.
|
private |
color palette to draw
Definition at line 34 of file RPaletteDrawable.hxx.
|
private |
! margin
Definition at line 37 of file RPaletteDrawable.hxx.
|
private |
! visibility flag
Definition at line 35 of file RPaletteDrawable.hxx.