Logo Search packages:      
Sourcecode: agave version File versions  Download package

void gcs::Widgets::ColorSwatch::alloc_bg ( void   )  [protected, inherited]

Allocates the background color that will be displayed in the ColorSwatch

Definition at line 147 of file gcs-colorswatch.cc.

References gcs::Widgets::ColorSwatch::m_background, and gcs::Widgets::ColorSwatch::m_colormap.

Referenced by gcs::Widgets::ColorSwatch::ColorSwatch(), and gcs::Widgets::ColorSwatch::set_color().

        {
            m_colormap->alloc_color(m_background->gdk());
        }


Generated by  Doxygen 1.6.0   Back to index