aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_track/textures/advtrains_track_swrst.png
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-11-20 12:11:40 +0100
committerorwell96 <orwell@bleipb.de>2018-11-20 12:12:28 +0100
commit4eb7531cc52b083b68673d4a8f9a8d271e60d37c (patch)
treeb8026f3464844898161332d06dae0097936608f1 /advtrains_train_track/textures/advtrains_track_swrst.png
parentf90a7a77ef9e76216fe4156e04223e032a91ec2c (diff)
downloadadvtrains-4eb7531cc52b083b68673d4a8f9a8d271e60d37c.tar.gz
advtrains-4eb7531cc52b083b68673d4a8f9a8d271e60d37c.tar.bz2
advtrains-4eb7531cc52b083b68673d4a8f9a8d271e60d37c.zip
Add set_aspect function
This allows incorporating signals implementing the signal API in LuaAutomation projects Note that it circumvents TCB assignments (a signal assigned to a TCB can be set to green even if no route is set
Diffstat (limited to 'advtrains_train_track/textures/advtrains_track_swrst.png')
0 files changed, 0 insertions, 0 deletions
wc">std::string &item, Client *client, bool noclip) : GUIButton (environment, parent, id, rectangle, tsrc, noclip) { m_image = new GUIItemImage(environment, this, id, core::rect<s32>(0,0,rectangle.getWidth(),rectangle.getHeight()), item, getActiveFont(), client); sendToBack(m_image); m_client = client; } GUIButtonItemImage *GUIButtonItemImage::addButton(IGUIEnvironment *environment, const core::rect<s32> &rectangle, ISimpleTextureSource *tsrc, IGUIElement *parent, s32 id, const wchar_t *text, const std::string &item, Client *client) { GUIButtonItemImage *button = new GUIButtonItemImage(environment, parent ? parent : environment->getRootGUIElement(), id, rectangle, tsrc, item, client); if (text) button->setText(text); button->drop(); return button; }