Guitarix
MainWindow Class Reference

#include <gx_main_window.h>

Inheritance diagram for MainWindow:
Collaboration diagram for MainWindow:

Public Member Functions

 MainWindow (gx_engine::GxMachineBase &machine, gx_system::CmdlineOptions &options, Gtk::Window *splash, const Glib::ustring &title)
 
 ~MainWindow ()
 
void hide_effect (const std::string &name)
 
RackContainerget_monorackcontainer ()
 
RackBoxadd_rackbox (PluginUI &pl, bool mini=false, int pos=-1, bool animate=false)
 
void add_icon (const std::string &name)
 
PluginUIget_plugin (const std::string &name)
 
PluginDict::iterator plugins_begin ()
 
PluginDict::iterator plugins_end ()
 
void run ()
 
gx_system::CmdlineOptionsget_options ()
 
void plugin_preset_popup (const PluginDef *pdef)
 
void plugin_preset_popup (const PluginDef *pdef, const Glib::ustring &name)
 
gx_engine::GxMachineBaseget_machine ()
 
void add_plugin (std::vector< PluginUI * > &p, const char *id, const Glib::ustring &tooltip_="")
 
void set_rackbox_expansion ()
 
double stop_at_stereo_bottom (double off, double step_size, double pagesize)
 
double stop_at_mono_top (double off, double step_size)
 
bool use_animations ()
 
void create_default_scratch_preset ()
 
void resize_finished (RackContainer *ch)
 
void update_width ()
 

Public Attributes

GtkSizeGroup * left_column
 

Detailed Description

Definition at line 585 of file gx_main_window.h.

Constructor & Destructor Documentation

◆ MainWindow()

MainWindow::MainWindow ( gx_engine::GxMachineBase machine,
gx_system::CmdlineOptions options,
Gtk::Window *  splash,
const Glib::ustring &  title 
)

Definition at line 2846 of file gx_main_window.cpp.

◆ ~MainWindow()

MainWindow::~MainWindow ( )

Definition at line 3304 of file gx_main_window.cpp.

Member Function Documentation

◆ add_icon()

void MainWindow::add_icon ( const std::string &  name)

Definition at line 1009 of file gx_main_window.cpp.

Referenced by PluginUI::hide().

◆ add_plugin()

void MainWindow::add_plugin ( std::vector< PluginUI * > &  p,
const char *  id,
const Glib::ustring &  tooltip_ = "" 
)

Definition at line 1993 of file gx_main_window.cpp.

Referenced by gx_gui::UiBuilderImpl::load().

◆ add_rackbox()

RackBox * MainWindow::add_rackbox ( PluginUI pl,
bool  mini = false,
int  pos = -1,
bool  animate = false 
)

Definition at line 995 of file gx_main_window.cpp.

Referenced by PluginUI::show().

◆ create_default_scratch_preset()

void MainWindow::create_default_scratch_preset ( )
inline

Definition at line 844 of file gx_main_window.h.

◆ get_machine()

gx_engine::GxMachineBase& MainWindow::get_machine ( )
inline

Definition at line 838 of file gx_main_window.h.

Referenced by PluginUI::display(), MiniRackBox::MiniRackBox(), and RackBox::RackBox().

◆ get_monorackcontainer()

RackContainer& MainWindow::get_monorackcontainer ( )
inline

Definition at line 828 of file gx_main_window.h.

◆ get_options()

gx_system::CmdlineOptions& MainWindow::get_options ( )
inline

Definition at line 835 of file gx_main_window.h.

Referenced by RackBox::RackBox().

◆ get_plugin()

PluginUI* MainWindow::get_plugin ( const std::string &  name)
inline

Definition at line 831 of file gx_main_window.h.

◆ hide_effect()

void MainWindow::hide_effect ( const std::string &  name)

Definition at line 1117 of file gx_main_window.cpp.

Referenced by PluginUI::show().

◆ plugin_preset_popup() [1/2]

void MainWindow::plugin_preset_popup ( const PluginDef pdef)

Definition at line 1835 of file gx_main_window.cpp.

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

◆ plugin_preset_popup() [2/2]

void MainWindow::plugin_preset_popup ( const PluginDef pdef,
const Glib::ustring &  name 
)

Definition at line 1839 of file gx_main_window.cpp.

◆ plugins_begin()

PluginDict::iterator MainWindow::plugins_begin ( )
inline

Definition at line 832 of file gx_main_window.h.

◆ plugins_end()

PluginDict::iterator MainWindow::plugins_end ( )
inline

Definition at line 833 of file gx_main_window.h.

◆ resize_finished()

void MainWindow::resize_finished ( RackContainer ch)

Definition at line 964 of file gx_main_window.cpp.

◆ run()

void MainWindow::run ( )

Definition at line 2765 of file gx_main_window.cpp.

◆ set_rackbox_expansion()

void MainWindow::set_rackbox_expansion ( )

◆ stop_at_mono_top()

double MainWindow::stop_at_mono_top ( double  off,
double  step_size 
)

Definition at line 933 of file gx_main_window.cpp.

◆ stop_at_stereo_bottom()

double MainWindow::stop_at_stereo_bottom ( double  off,
double  step_size,
double  pagesize 
)

Definition at line 924 of file gx_main_window.cpp.

◆ update_width()

void MainWindow::update_width ( )

Definition at line 971 of file gx_main_window.cpp.

◆ use_animations()

bool MainWindow::use_animations ( )
inline

Definition at line 843 of file gx_main_window.h.

Member Data Documentation

◆ left_column

GtkSizeGroup* MainWindow::left_column

Definition at line 823 of file gx_main_window.h.

Referenced by MainWindow().


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