Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 0469a759c8
Fetching contributors…

Cannot retrieve contributors at this time

executable file 31 lines (21 sloc) 0.774 kb
#pragma once
#include "guiBaseObject.h"
#include "guiColor.h"
#include "simpleColor.h"
#include "guiValue.h"
class guiTypeTextDropDown : public guiBaseObject{
public:
//------------------------------------------------
void setup(string dropDownName, int defaultBox, vector <string> boxNames);
virtual void updateValue();
virtual void update();
virtual void updateText();
virtual void release();
void updateGui(float x, float y, bool firstHit, bool isRelative);
void render();
string getSelectedBoxName() { return vecDropList[value.getValueI()]; };
void notify();
void hideDropDown() { bShowDropDown = false; state = SG_STATE_NORMAL; }
vector <string> vecDropList;
bool bShowDropDown;
};
Jump to Line
Something went wrong with that request. Please try again.