synfig-studio
1.0.3
|
writeme More...
#include <fstream>
#include <iostream>
#include <locale>
#include <cstring>
#include <gtkmm/filechooserdialog.h>
#include <gtkmm/dialog.h>
#include <gtkmm/messagedialog.h>
#include <gtkmm/label.h>
#include <gtkmm/stock.h>
#include <gtkmm/stockitem.h>
#include <gtkmm/iconsource.h>
#include <gtkmm/accelmap.h>
#include <gtkmm/uimanager.h>
#include <gtkmm/textview.h>
#include <gtkmm/filefilter.h>
#include <gtkmm/cssprovider.h>
#include <glibmm/main.h>
#include <glibmm/thread.h>
#include <glibmm/miscutils.h>
#include <glibmm/spawn.h>
#include <gtk/gtk.h>
#include <gdkmm/general.h>
#include <synfig/loadcanvas.h>
#include <synfig/savecanvas.h>
#include <synfig/importer.h>
#include <synfig/filesystemnative.h>
#include <synfig/filesystemgroup.h>
#include <synfig/filecontainertemporary.h>
#include "app.h"
#include "dialogs/about.h"
#include "splash.h"
#include "instance.h"
#include "canvasview.h"
#include "dialogs/dialog_setup.h"
#include "dialogs/dialog_gradient.h"
#include "dialogs/dialog_input.h"
#include "dialogs/dialog_color.h"
#include "mainwindow.h"
#include "docks/dock_toolbox.h"
#include "onemoment.h"
#include "docks/dockmanager.h"
#include "states/state_eyedrop.h"
#include "states/state_normal.h"
#include "states/state_mirror.h"
#include "states/state_draw.h"
#include "states/state_lasso.h"
#include "states/state_fill.h"
#include "states/state_bline.h"
#include "states/state_brush.h"
#include "states/state_polygon.h"
#include "states/state_sketch.h"
#include "states/state_gradient.h"
#include "states/state_circle.h"
#include "states/state_rectangle.h"
#include "states/state_smoothmove.h"
#include "states/state_scale.h"
#include "states/state_star.h"
#include "states/state_text.h"
#include "states/state_width.h"
#include "states/state_rotate.h"
#include "states/state_zoom.h"
#include "devicetracker.h"
#include "docks/dialog_tooloptions.h"
#include "widgets/widget_enum.h"
#include "autorecover.h"
#include <synfigapp/settings.h>
#include "docks/dock_history.h"
#include "docks/dock_canvases.h"
#include "docks/dock_keyframes.h"
#include "docks/dock_layers.h"
#include "docks/dock_params.h"
#include "docks/dock_metadata.h"
#include "docks/dock_children.h"
#include "docks/dock_info.h"
#include "docks/dock_navigator.h"
#include "docks/dock_layergroups.h"
#include "docks/dock_timetrack.h"
#include "docks/dock_curves.h"
#include "modules/module.h"
#include "modules/mod_palette/mod_palette.h"
#include "ipc.h"
#include "statemanager.h"
#include <gtkmm/filechooser.h>
#include "general.h"
#include <synfigapp/main.h>
Namespaces | |
namespace | studio |
Macros | |
#define | DPM2DPI(x) (float(x)/39.3700787402f) |
#define | DPI2DPM(x) (float(x)*39.3700787402f) |
#define | IMAGE_DIR "/usr/local/share/pixmaps" |
#define | IMAGE_EXT "tif" |
#define | PLUGIN_DIR "/usr/local/share/synfig/plugins" |
#define | DEFINE_ACTION(x, stock) { Glib::RefPtr<Gtk::Action> action( Gtk::Action::create(x, stock) ); actions_action_group->add(action); } |
#define | ACCEL(accel, path) |
#define | ACCEL2(accel) |
Functions | |
bool | studio::really_delete_widget (Gtk::Widget *widget) |
void | studio::delete_widget (Gtk::Widget *widget) |
void | init_ui_manager () |
static Time::Format | _App_time_format (Time::FORMAT_FRAMES) |
gint | Signal_Open_Ok (GtkWidget *, int *val) |
gint | Signal_Open_Cancel (GtkWidget *, int *val) |
void | on_open_dialog_with_history_selection_changed (Gtk::FileChooserDialog *dialog, Gtk::Button *history_button) |
static bool | try_open_url (const std::string &url) |
writeme
$Id$
#define DPM2DPI | ( | x | ) | (float(x)/39.3700787402f) |
#define DPI2DPM | ( | x | ) | (float(x)*39.3700787402f) |
Referenced by studio::App::new_instance().
#define IMAGE_DIR "/usr/local/share/pixmaps" |
Referenced by studio::App::App().
#define IMAGE_EXT "tif" |
#define PLUGIN_DIR "/usr/local/share/synfig/plugins" |
Referenced by studio::App::App().
#define DEFINE_ACTION | ( | x, | |
stock | |||
) | { Glib::RefPtr<Gtk::Action> action( Gtk::Action::create(x, stock) ); actions_action_group->add(action); } |
Referenced by init_ui_manager().
#define ACCEL | ( | accel, | |
path | |||
) |
Referenced by init_ui_manager().
#define ACCEL2 | ( | accel | ) |
Referenced by init_ui_manager().
void init_ui_manager | ( | ) |
References _, ACCEL, ACCEL2, synfigapp::Action::book(), synfigapp::Action::create(), DEFINE_ACTION, studio::get_action_stock_id(), synfigapp::PluginManager::get_list(), synfigapp::PluginManager::plugin::id, synfigapp::PluginManager::plugin::name, and studio::App::plugin_manager.
Referenced by studio::App::App().
|
static |
Referenced by studio::App::get_time_format(), and studio::App::set_time_format().
gint Signal_Open_Ok | ( | GtkWidget * | , |
int * | val | ||
) |
gint Signal_Open_Cancel | ( | GtkWidget * | , |
int * | val | ||
) |
void on_open_dialog_with_history_selection_changed | ( | Gtk::FileChooserDialog * | dialog, |
Gtk::Button * | history_button | ||
) |
Referenced by studio::App::dialog_open_file_with_history_button().
|
static |
References studio::App::browser_command.
Referenced by studio::App::dialog_help(), and studio::App::open_url().
|
static |
Referenced by studio::App::signal_present_all().
|
static |
Referenced by studio::App::signal_recent_files_changed().
|
static |
Referenced by studio::App::signal_canvas_view_focus().
|
static |
Referenced by studio::App::signal_instance_selected().
|
static |
Referenced by studio::App::signal_instance_created().
|
static |
Referenced by studio::App::signal_instance_deleted().
|
static |
Referenced by studio::App::get_recent_files(), and studio::App::save_settings().
etl::handle< studio::ModPalette > mod_palette_ |
|
static |
Referenced by studio::App::App(), synfigapp::Action::System::get_ui_interface(), synfigapp::CanvasInterface::get_ui_interface(), studio::App::get_ui_interface(), synfigapp::Action::System::set_ui_interface(), synfigapp::CanvasInterface::set_ui_interface(), synfigapp::Action::System::unset_ui_interface(), and synfigapp::CanvasInterface::unset_ui_interface().
studio::IPC* ipc = NULL |
Referenced by studio::App::App(), and studio::App::~App().
studio::Dock_History* dock_history |
Referenced by studio::App::App().
studio::Dock_Canvases* dock_canvases |
Referenced by studio::App::App().
studio::Dock_Keyframes* dock_keyframes |
Referenced by studio::App::App().
studio::Dock_Layers* dock_layers |
Referenced by studio::App::App().
studio::Dock_Params* dock_params |
Referenced by studio::App::App().
studio::Dock_MetaData* dock_meta_data |
Referenced by studio::App::App().
studio::Dock_Children* dock_children |
Referenced by studio::App::App().
studio::Dock_Info* dock_info |
Referenced by studio::App::App().
studio::Dock_LayerGroups* dock_layer_groups |
Referenced by studio::App::App().
studio::Dock_Navigator* dock_navigator |
Referenced by studio::App::App().
studio::Dock_Timetrack* dock_timetrack |
Referenced by studio::App::App().
studio::Dock_Curves* dock_curves |
Referenced by studio::App::App().
std::list< etl::handle< studio::Module > > module_list_ |
Referenced by studio::App::App(), and studio::App::~App().
|
static |
Referenced by studio::App::get_max_recent_files(), and studio::App::set_max_recent_files().
|
static |
Referenced by studio::App::App(), and studio::App::get_base_path().
studio::StateManager* state_manager |
Referenced by studio::App::App(), studio::App::get_state_manager(), and studio::App::~App().
|
static |
Referenced by studio::App::App(), studio::App::dialog_open_file(), studio::App::dialog_open_file_audio(), studio::App::dialog_open_file_image(), studio::App::dialog_open_file_sketch(), studio::App::dialog_open_file_spal(), studio::App::dialog_open_file_with_history_button(), studio::App::dialog_save_file(), studio::App::dialog_save_file_render(), studio::App::dialog_save_file_sketch(), and studio::App::dialog_save_file_spal().