Commit 96b3209a authored by Davis King's avatar Davis King

Organized the Unicode overloads into a more readable format. Also added some missing

overloads to the spec file.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402486
parent 3292376c
...@@ -897,6 +897,8 @@ namespace dlib ...@@ -897,6 +897,8 @@ namespace dlib
same but its width and height are modified same but its width and height are modified
!*/ !*/
void set_text (const std::wstring& str);
void set_text (const dlib::ustring& str);
void set_text ( void set_text (
const std::string& str const std::string& str
); );
...@@ -907,15 +909,8 @@ namespace dlib ...@@ -907,15 +909,8 @@ namespace dlib
will display on the screen when the user hovers the mouse over it will display on the screen when the user hovers the mouse over it
!*/ !*/
// overloads for wide character strings const std::wstring wtext () const;
void set_text ( const dlib::ustring utext () const;
const std::wstring& str
);
void set_text (
const dlib::ustring& str
);
const std::string text ( const std::string text (
) const; ) const;
/*! /*!
...@@ -924,22 +919,6 @@ namespace dlib ...@@ -924,22 +919,6 @@ namespace dlib
tooltip tooltip
!*/ !*/
const std::wstring wtext (
) const;
/*!
ensures
- returns the text that is displayed inside this
tooltip
!*/
const dlib::ustring utext (
) const;
/*!
ensures
- returns the text that is displayed inside this
tooltip
!*/
private: private:
// restricted functions // restricted functions
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment