Public Member Functions | |
SignWindow (const WindowDesc *desc, const Sign *si) | |
void | UpdateSignEditWindow (const Sign *si) |
const Sign * | PrevNextSign (bool next) |
Returns a pointer to the (alphabetically) previous or next sign of the current sign. | |
virtual void | SetStringParameters (int widget) const |
virtual void | OnPaint () |
virtual void | OnClick (Point pt, int widget, int click_count) |
virtual EventState | OnKeyPress (uint16 key, uint16 keycode) |
virtual void | OnMouseLoop () |
virtual void | OnOpenOSKWindow (int wid) |
Data Fields | |
SignID | cur_sign |
Definition at line 455 of file signs_gui.cpp.
const Sign* SignWindow::PrevNextSign | ( | bool | next | ) | [inline] |
Returns a pointer to the (alphabetically) previous or next sign of the current sign.
next | false if the previous sign is wanted, true if the next sign is wanted |
Definition at line 495 of file signs_gui.cpp.
References GUIList< T, F >::ForceRebuild(), SmallVector< T, S >::Length(), and GUIList< T, F >::NeedResort().