#include "panel.h"
#include "part.h"
#include "style.h"
+#include "text.h"
using namespace std;
if(part.get_name()=="text")
{
if(list.get_selected_index()>=0)
- render_text(part, list.get_selected());
+ Text(style, list.get_selected()).render(part, geom);
}
else if(part.get_name()=="list" && dropped)
list.render();