Guitarix
PluginUI Class Reference

#include <gx_main_window.h>

Inheritance diagram for PluginUI:
Collaboration diagram for PluginUI:

Public Member Functions

 PluginUI (MainWindow &main, const char *id_, const Glib::ustring &tooltip_="")
 
virtual ~PluginUI ()
 
PluginType get_type () const
 
const char * get_id () const
 
const char * get_name () const
 
void display (bool v, bool animate)
 
void display_new (bool unordered=false)
 
void set_ui_merge_id (Gtk::UIManager::ui_merge_id id)
 
void unset_ui_merge_id (Glib::RefPtr< Gtk::UIManager > uimanager)
 
void set_action (Glib::RefPtr< Gtk::ToggleAction > &act)
 
void set_active (bool v)
 
Glib::RefPtr< Gtk::ToggleAction > get_action ()
 
virtual void on_plugin_preset_popup ()
 
const char * get_category ()
 
const char * get_shortname () const
 
void update_rackbox ()
 
void compress (bool state)
 
void hide (bool animate)
 
void show (bool animate)
 

Static Public Member Functions

static bool is_registered (gx_engine::GxMachineBase &m, const char *name)
 

Public Attributes

gx_engine::Pluginplugin
 
Glib::ustring tooltip
 
const char * shortname
 
Glib::RefPtr< Gdk::Pixbuf > icon
 
Gtk::ToolItemGroup * group
 
Gtk::ToolItem * toolitem
 
MainWindowmain
 
RackBoxrackbox
 
bool hidden
 
bool hidden_by_move
 

Friends

bool plugins_by_name_less (PluginUI *a, PluginUI *b)
 

Detailed Description

Definition at line 152 of file gx_main_window.h.

Constructor & Destructor Documentation

§ PluginUI()

PluginUI::PluginUI ( MainWindow main,
const char *  id_,
const Glib::ustring &  tooltip_ = "" 
)

Definition at line 44 of file rack.cpp.

§ ~PluginUI()

PluginUI::~PluginUI ( )
virtual

Definition at line 64 of file rack.cpp.

Member Function Documentation

§ compress()

void PluginUI::compress ( bool  state)

Definition at line 90 of file rack.cpp.

§ display()

void PluginUI::display ( bool  v,
bool  animate 
)

§ display_new()

void PluginUI::display_new ( bool  unordered = false)

Definition at line 153 of file rack.cpp.

Referenced by set_action().

§ get_action()

Glib::RefPtr<Gtk::ToggleAction> PluginUI::get_action ( )
inline

Definition at line 186 of file gx_main_window.h.

Referenced by JConvPluginUI::JConvPluginUI().

§ get_category()

const char* PluginUI::get_category ( )
inline

Definition at line 189 of file gx_main_window.h.

Referenced by JConvPluginUI::JConvPluginUI(), and PluginDesc::PluginDesc().

§ get_id()

§ get_name()

const char* PluginUI::get_name ( ) const
inline

§ get_shortname()

const char* PluginUI::get_shortname ( ) const
inline

Definition at line 193 of file gx_main_window.h.

Referenced by PluginPresetPopup::PluginPresetPopup(), and plugins_by_name_less().

§ get_type()

§ hide()

void PluginUI::hide ( bool  animate)

Definition at line 116 of file rack.cpp.

Referenced by display().

§ is_registered()

bool PluginUI::is_registered ( gx_engine::GxMachineBase m,
const char *  name 
)
static

Definition at line 86 of file rack.cpp.

Referenced by MainWindow::add_plugin().

§ on_plugin_preset_popup()

void PluginUI::on_plugin_preset_popup ( )
virtual

Definition at line 82 of file rack.cpp.

Referenced by RackBox::setOrder().

§ set_action()

void PluginUI::set_action ( Glib::RefPtr< Gtk::ToggleAction > &  act)

Definition at line 99 of file rack.cpp.

Referenced by PluginDesc::PluginDesc().

§ set_active()

void PluginUI::set_active ( bool  v)
inline

Definition at line 185 of file gx_main_window.h.

Referenced by RackBox::display(), and show().

§ set_ui_merge_id()

void PluginUI::set_ui_merge_id ( Gtk::UIManager::ui_merge_id  id)
inline

Definition at line 182 of file gx_main_window.h.

Referenced by PluginDesc::PluginDesc().

§ show()

void PluginUI::show ( bool  animate)

Definition at line 124 of file rack.cpp.

Referenced by RackContainer::check_order(), and display().

§ unset_ui_merge_id()

void PluginUI::unset_ui_merge_id ( Glib::RefPtr< Gtk::UIManager >  uimanager)

Definition at line 75 of file rack.cpp.

Referenced by JConvPluginUI::JConvPluginUI().

§ update_rackbox()

void PluginUI::update_rackbox ( )

Definition at line 164 of file rack.cpp.

Referenced by JConvPluginUI::JConvPluginUI().

Friends And Related Function Documentation

§ plugins_by_name_less

bool plugins_by_name_less ( PluginUI a,
PluginUI b 
)
friend

Definition at line 186 of file rack.cpp.

Member Data Documentation

§ group

Gtk::ToolItemGroup* PluginUI::group

§ hidden

bool PluginUI::hidden

Definition at line 169 of file gx_main_window.h.

Referenced by RackContainer::check_order(), display(), and show().

§ hidden_by_move

bool PluginUI::hidden_by_move

Definition at line 170 of file gx_main_window.h.

Referenced by RackBox::display().

§ icon

Glib::RefPtr<Gdk::Pixbuf> PluginUI::icon

Definition at line 163 of file gx_main_window.h.

Referenced by MainWindow::add_icon().

§ main

MainWindow& PluginUI::main

Definition at line 167 of file gx_main_window.h.

Referenced by display(), hide(), on_plugin_preset_popup(), and show().

§ plugin

§ rackbox

§ shortname

const char* PluginUI::shortname

Definition at line 160 of file gx_main_window.h.

§ toolitem

Gtk::ToolItem* PluginUI::toolitem

§ tooltip

Glib::ustring PluginUI::tooltip

Definition at line 159 of file gx_main_window.h.

Referenced by MainWindow::add_icon(), and PluginUI().


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