synfig-studio  1.0.3
Macros
mainwindow.cpp File Reference

MainWindow. More...

#include "mainwindow.h"
#include "canvasview.h"
#include "docks/dockable.h"
#include "docks/dockbook.h"
#include "docks/dockmanager.h"
#include "docks/dockdroparea.h"
#include "dialogs/dialog_input.h"
#include <synfigapp/main.h>
#include <gtkmm/menubar.h>
#include <gtkmm/box.h>

Macros

#define GRAB_HINT_DATA(y)
#define URL(action_name, title, url)
#define WIKI(action_name, title, page)   URL(action_name,title, "http://synfig.org/wiki" + String(page))
#define SITE(action_name, title, page)   URL(action_name,title, "http://synfig.org/cms" + String(page))

Detailed Description

MainWindow.

$Id$

Macro Definition Documentation

#define GRAB_HINT_DATA (   y)
Value:
{ \
String x; \
if(synfigapp::Main::settings().get_value(String("pref.")+y+"_hints",x)) \
{ \
set_type_hint((Gdk::WindowTypeHint)atoi(x.c_str())); \
} \
}

Referenced by studio::MainWindow::MainWindow().

#define URL (   action_name,
  title,
  url 
)
Value:
action_group->add( Gtk::Action::create(action_name, title), \
sigc::bind(sigc::ptr_fun(&studio::App::open_url),url))
#define WIKI (   action_name,
  title,
  page 
)    URL(action_name,title, "http://synfig.org/wiki" + String(page))
#define SITE (   action_name,
  title,
  page 
)    URL(action_name,title, "http://synfig.org/cms" + String(page))