#include <stdlib.h> // atof()
+#include <plib/puAux.h>
+
#include <Input/input.hxx>
#include <Scripting/NasalSys.hxx>
} else if (type == "combo") {
char ** entries = value_list(props);
- puComboBox * obj = new puComboBox(x, y, x + width, y + height, entries,
+ puaComboBox * obj = new puaComboBox(x, y, x + width, y + height, entries,
props->getBoolValue("editable", false));
setupObject(obj, props);
#ifdef PUCOL_EDITFIELD // plib > 0.8.4
} else if (type == "textbox") {
int slider_width = props->getIntValue("slider", 20);
int wrap = props->getBoolValue("wrap", true);
- puLargeInput * obj = new puLargeInput(x, y,
+ puaLargeInput * obj = new puaLargeInput(x, y,
x+width, x+height, 2, slider_width, wrap);
if (props->hasValue("editable")) {
for (unsigned int i = 0; i < value_nodes.size(); i++)
entries[i] = strdup((char *)value_nodes[i]->getName());
- puSelectBox * obj =
- new puSelectBox(x, y, x + width, y + height, entries);
+ puaSelectBox * obj =
+ new puaSelectBox(x, y, x + width, y + height, entries);
setupObject(obj, props);
#ifdef PUCOL_EDITFIELD // plib > 0.8.4
setColor(obj, props, EDITFIELD);