PopUpMenu

To create drop-down lists, menu bars, etc.

Constructors

this
this(int columnheight, string subsource, string[] sources, wstring[] texts, uint[int] hotkeyCodes)
Undocumented in source.
this
this(int columnheight, string subsource, string[] sources, wstring[] texts, Bitmap16Bit[int] icons, uint[int] hotkeyCodes)

Use this if you want icons in your list. All the icons have to be the same exact size, otherwise it might cause exceptions.

Members

Functions

addPopUpHandler
void addPopUpHandler(PopUpHandler p)
Undocumented in source. Be warned that the author may not have intended to support it.
onClick
void onClick(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
onKey
void onKey(uint keycode)
Undocumented in source. Be warned that the author may not have intended to support it.
onScroll
void onScroll(int x, int y, int wX, int wY)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

inputhandler
InputHandler inputhandler;
Undocumented in source.

Variables

output
BitmapDrawer output;
Undocumented in source.

Inherited Members

From PopUpElement

onClick
void onClick(int x, int y)
Undocumented in source.
addPopUpHandler
void addPopUpHandler(PopUpHandler p)
Undocumented in source.

Meta