togglebutton.cpp revision e76eaf2edb50732064fb1032858c20735bc3f1cd
/*
* Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>
* Copyright (C) Jabiertxo Arraiza Cenoz 2014 <j.b.c.engelen@utwente.nl>
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "ui/widget/registered-widget.h"
#include "live_effects/parameter/togglebutton.h"
#include "live_effects/effect.h"
#include "svg/stringstream.h"
#include "inkscape.h"
#include "verbs.h"
#include "helper-fns.h"
namespace Inkscape {
namespace LivePathEffect {
char const * icon_active, char const * icon_inactive,
inactiveLabel(inactive_label), iconActive(icon_active), iconInactive(icon_inactive), iconSize(icon_size)
{
}
{
if (_toggled_connection.connected()) {
}
}
void
{
}
bool
{
return true; // not correct: if value is unacceptable, should return false!
}
gchar *
ToggleButtonParam::param_getSVGValue() const
{
return str;
}
{
if (_toggled_connection.connected()) {
}
*param_wr,
false,
param_effect->getRepr(),
param_effect->getSPDoc()) );
#if GTK_CHECK_VERSION(3,0,0)
#else
#endif
if (!param_label.empty()) {
}else{
}
}
if ( iconActive ) {
if(!iconInactive){
}
if(!value){
}
if (!param_label.empty()) {
}
}else{
}
checkwdg->setProgrammatically = false;
_toggled_connection = checkwdg->signal_toggled().connect(sigc::mem_fun(*this, &ToggleButtonParam::toggled));
return checkwdg;
}
void
{
if(!checkwdg){
return;
}
if(!boxButton){
return;
}
if (!param_label.empty()) {
}else{
}
}
if ( iconActive ) {
if(!value){
}
}
}
void
{
}
void
ToggleButtonParam::toggled() {
}
} /* namespace LivePathEffect */
} /* namespace Inkscape */
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :