Public Member Functions | Data Fields

SignWindow Struct Reference

Inheritance diagram for SignWindow:
QueryStringBaseWindow SignList Window QueryString ZeroedMemoryAllocator

Public Member Functions

 SignWindow (const WindowDesc *desc, const Sign *si)
void UpdateSignEditWindow (const Sign *si)
const SignPrevNextSign (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

Detailed Description

Definition at line 455 of file signs_gui.cpp.


Member Function Documentation

const Sign* SignWindow::PrevNextSign ( bool  next  )  [inline]

Returns a pointer to the (alphabetically) previous or next sign of the current sign.

Parameters:
next false if the previous sign is wanted, true if the next sign is wanted
Returns:
pointer to the previous/next sign

Definition at line 495 of file signs_gui.cpp.

References GUIList< T, F >::ForceRebuild(), SmallVector< T, S >::Length(), and GUIList< T, F >::NeedResort().


The documentation for this struct was generated from the following file: