CHANGED: #1471 CCtrlTooltip is now in the NELGUI library and is under NLGUI namespace.

This commit is contained in:
dfighter1985 2012-06-16 04:16:12 +02:00
parent db38a00135
commit a0b411d35c
5 changed files with 61 additions and 48 deletions

View file

@ -25,7 +25,7 @@
namespace NLGUI namespace NLGUI
{ {
class CEventDescriptor; class CEventDescriptor;
}
/** /**
* \author Matthieu 'Mr TRAP' Besson * \author Matthieu 'Mr TRAP' Besson
@ -50,6 +50,9 @@ public:
}; };
}
#endif // RZ_CTRL_TOOLTIP_H #endif // RZ_CTRL_TOOLTIP_H
/* End of ctrl_tooltip.h */ /* End of ctrl_tooltip.h */

View file

@ -17,7 +17,7 @@
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
#include "ctrl_tooltip.h" #include "nel/gui/ctrl_tooltip.h"
#include "nel/misc/xml_auto_ptr.h" #include "nel/misc/xml_auto_ptr.h"
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@ -29,6 +29,9 @@ NLMISC_REGISTER_OBJECT(CViewBase, CCtrlToolTip, std::string, "tooltip");
REGISTER_UI_CLASS(CCtrlToolTip) REGISTER_UI_CLASS(CCtrlToolTip)
namespace NLGUI
{
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
void CCtrlToolTip::draw () void CCtrlToolTip::draw ()
{ {
@ -53,3 +56,6 @@ void CCtrlToolTip::serial(NLMISC::IStream &f)
{ {
CCtrlBase::serial(f); CCtrlBase::serial(f);
} }
}

View file

@ -55,7 +55,7 @@
#include "nel/gui/ctrl_scroll.h" #include "nel/gui/ctrl_scroll.h"
#include "nel/gui/ctrl_button.h" #include "nel/gui/ctrl_button.h"
#include "nel/gui/ctrl_col_pick.h" #include "nel/gui/ctrl_col_pick.h"
#include "ctrl_tooltip.h" #include "nel/gui/ctrl_tooltip.h"
#include "ctrl_text_button.h" #include "ctrl_text_button.h"
#include "group_paragraph.h" // For CCtrlLink #include "group_paragraph.h" // For CCtrlLink
// DBCtrl // DBCtrl

View file

@ -24,7 +24,7 @@
#include "view_text.h" #include "view_text.h"
#include "interface_manager.h" #include "interface_manager.h"
#include "group_container.h" // CCtrlResizer #include "group_container.h" // CCtrlResizer
#include "ctrl_tooltip.h" #include "nel/gui/ctrl_tooltip.h"
#include "nel/misc/xml_auto_ptr.h" #include "nel/misc/xml_auto_ptr.h"
#include "nel/gui/lua_ihm.h" #include "nel/gui/lua_ihm.h"

View file

@ -23,7 +23,11 @@
#include "../misc.h" #include "../misc.h"
#include "nel/3d/u_text_context.h" #include "nel/3d/u_text_context.h"
namespace NLGUI
{
class CCtrlToolTip; class CCtrlToolTip;
}
/** /**
* class implementing a text view * class implementing a text view