Ardour  9.0-pre0-822-g12e3bc5c20
StripableColorDialog Class Reference

#include <stripable_colorpicker.h>

Inheritance diagram for StripableColorDialog:
[legend]

Public Member Functions

 StripableColorDialog ()
 
 ~StripableColorDialog ()
 
void reset ()
 
void popup (std::shared_ptr< ARDOUR::Stripable > s)
 
void popup (const std::string &, uint32_t)
 

Public Attributes

sigc::signal< void, uint32_t > ColorChanged
 

Private Member Functions

void initialize_color_palette ()
 
void finish_color_edit (int response)
 
void color_changed ()
 

Static Private Member Functions

static void palette_changed_hook (const Glib::RefPtr< Gdk::Screen > &, const Gdk::ArrayHandle_Color &)
 

Private Attributes

std::shared_ptr< ARDOUR::Stripable_stripable
 
ARDOUR::PresentationInfo::color_t _initial_color
 
sigc::connection _color_changed_connection
 

Static Private Attributes

static bool palette_initialized
 
static Gtk::ColorSelection::SlotChangePaletteHook gtk_palette_changed_hook
 

Detailed Description

Definition at line 28 of file stripable_colorpicker.h.

Constructor & Destructor Documentation

◆ StripableColorDialog()

StripableColorDialog::StripableColorDialog ( )

◆ ~StripableColorDialog()

StripableColorDialog::~StripableColorDialog ( )

Member Function Documentation

◆ color_changed()

void StripableColorDialog::color_changed ( )
private

◆ finish_color_edit()

void StripableColorDialog::finish_color_edit ( int  response)
private

◆ initialize_color_palette()

void StripableColorDialog::initialize_color_palette ( )
private

◆ palette_changed_hook()

static void StripableColorDialog::palette_changed_hook ( const Glib::RefPtr< Gdk::Screen > &  ,
const Gdk::ArrayHandle_Color &   
)
staticprivate

◆ popup() [1/2]

void StripableColorDialog::popup ( const std::string &  ,
uint32_t   
)

◆ popup() [2/2]

void StripableColorDialog::popup ( std::shared_ptr< ARDOUR::Stripable s)

◆ reset()

void StripableColorDialog::reset ( )

Member Data Documentation

◆ _color_changed_connection

sigc::connection StripableColorDialog::_color_changed_connection
private

Definition at line 46 of file stripable_colorpicker.h.

◆ _initial_color

ARDOUR::PresentationInfo::color_t StripableColorDialog::_initial_color
private

Definition at line 44 of file stripable_colorpicker.h.

◆ _stripable

std::shared_ptr<ARDOUR::Stripable> StripableColorDialog::_stripable
private

Definition at line 43 of file stripable_colorpicker.h.

◆ ColorChanged

sigc::signal<void, uint32_t> StripableColorDialog::ColorChanged

Definition at line 36 of file stripable_colorpicker.h.

◆ gtk_palette_changed_hook

Gtk::ColorSelection::SlotChangePaletteHook StripableColorDialog::gtk_palette_changed_hook
staticprivate

Definition at line 51 of file stripable_colorpicker.h.

◆ palette_initialized

bool StripableColorDialog::palette_initialized
staticprivate

Definition at line 49 of file stripable_colorpicker.h.


The documentation for this class was generated from the following file: