/*! \file paramdesc.h
** \brief ParamDesc Class Implementation
**
-** $Id: paramdesc.h,v 1.1.1.1 2005/01/04 01:23:14 darco Exp $
+** $Id$
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
namespace synfig {
class ValueBase;
-
+
/*! \class ParamDesc
** \brief Parameter Description Class
** \todo writeme
{
}
};
-
+
/*
-- ** -- D A T A -------------------------------------------------------------
*/
bool animation_only_;
std::list<EnumData> enum_list_;
-
+
/*
-- ** -- C O N S T R U C T O R S ---------------------------------------------
*/
//! \writeme
const std::list<EnumData> &get_enum_list()const { return enum_list_; }
-
+
//! Sets the localized name of the parameter.
ParamDesc &set_local_name(const String &n) { local_name_=n; return *this; }
//! Returns the flag regarding duck visibility
bool get_invisible_duck() { return invisible_duck_; }
-
+
//! \writeme
ParamDesc &set_animation_only(bool x=true) { animation_only_=x; return *this; }
//! \writeme
bool get_animation_only() { return animation_only_; }
-
+
//! Sets which parameter is to be used as the origin when the user edits visually.
ParamDesc &set_origin(const String &h) { origin_=h; return *this; }
//! Returns the localized description of the parameter
const String &get_description()const { return desc_; }
- //! Returns the paramater's group
+ //! Returns the parameter's group
const String &get_group()const { return group_; }
//! Returns a "hint" about the parameter, regarding how it is to be displayed to the user
//! Returns \c true if the layer is hidden, \c false otherwise.
bool get_hidden()const { return hidden_; }
-
-
+
+
ParamDesc& set_is_distance(bool x=true) { is_distance_=x; return *this;}
bool get_is_distance()const { return is_distance_; }
}; // END of class ParamDesc