*/
// EXTERNAL INCLUDES
-#include <boost/function.hpp>
#include <string>
#include <dali/public-api/object/base-handle.h>
-#include <dali/public-api/signals/dali-signal-v2.h>
+#include <dali/public-api/signals/dali-signal.h>
// INTERNAL INCLUDES
#include "style-change.h"
{
public: // Typedefs
- typedef SignalV2< void (StyleMonitor, StyleChange) > StyleChangeSignalV2; ///< StyleChange Signal type
+ typedef Signal< void (StyleMonitor, StyleChange) > StyleChangeSignalType; ///< StyleChange Signal type
public: // Creation & Destruction
std::string GetDefaultFontFamily() const;
/**
- * @brief Retrieves the default font size
- * @return The default font size.
+ * @brief Retrieves the default font style.
+ * @return The default font style.
*/
- float GetDefaultFontSize() const;
+ std::string GetDefaultFontStyle() const;
+
+ /**
+ * @brief Retrieves the default font size.
+ *
+ * This is an logical size, which is mapped to a UI Control specific point-size in stylesheets.
+ * For example if zero the smallest size, this could potentially map to TextLabel point-size 8.
+ * @return The default font size, or a negative value if not set.
+ */
+ int GetDefaultFontSize() const;
/**
* @brief Retrieves the user defined Theme.
* @endcode
* @return The signal to connect to.
*/
- StyleChangeSignalV2& StyleChangeSignal();
+ StyleChangeSignalType& StyleChangeSignal();
public: // Operators
*/
StyleMonitor& operator=(const StyleMonitor& monitor);
- /**
- * @brief This method is defined to allow assignment of the NULL value,
- * and will throw an exception if passed any other value.
- *
- * Assigning to NULL is an alias for Reset().
- * @param [in] rhs A NULL pointer
- * @return A reference to this handle
- */
- StyleMonitor& operator=(BaseHandle::NullType* rhs);
-
public: // Not intended for application developers
/**
* @brief This constructor is used internally to create a handle from an object pointer.