DiDropList

Undocumented in source.

Constructors

this
this(DiWidget par, irect r, wstring[] list)
Undocumented in source.

Members

Functions

animUpdate
void animUpdate(float dt)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

base_height
size_t base_height;
Undocumented in source.
cur_selected
size_t cur_selected;
Undocumented in source.
drop
bool drop;
Undocumented in source.
full_height
size_t full_height;
h
InertionChange!float h;
Undocumented in source.
in_h
InertionChange!float in_h;
Undocumented in source.
onSelect
Signal!size_t onSelect;
Undocumented in source.

Inherited Members

From DiWidget

act_area
DiArea act_area;
Undocumented in source.
setContext
void setContext(DiContext nctx)
Undocumented in source. Be warned that the author may not have intended to support it.
addChild
void addChild(DiWidget e)
Undocumented in source. Be warned that the author may not have intended to support it.
garbage
DiWidget[] garbage;
Undocumented in source.
removeChilds
auto removeChilds(DiWidget[] list)
Undocumented in source. Be warned that the author may not have intended to support it.
changeChildsList
EmptySignal changeChildsList;
Undocumented in source.
size_lim
size_lim_t!int size_lim;

пределы для размера bbox

forceReshape
void forceReshape(irect r)

принудительное изменение размера bbox, вне зависимости от фиксированности

processEventMask
ubyte processEventMask;

обрабатывает ли элемент события

ctx
DiContext ctx;

контекст

parent
DiWidget parent;

родительский элемент

childs
DiWidget[] childs;

список дочерних элементов

cur
DiWidget cur;

текущий дочерний элемент

inner_offset
ivec2 inner_offset;

внутреннее смещение области для дочерних элементов

inner_scale
vec2 inner_scale;
Undocumented in source.
focus
bool focus [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
focus
bool focus [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
EventCode
enum EventCode
Undocumented in source.
find
DiWidget find(vec2 mpos, ubyte evcode)

поиск дочернего элемента по локальному положению мыши и коду события

is_visible
bool is_visible;
Undocumented in source.
visible
bool visible [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
visible
bool visible [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
drawRect
irect drawRect [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
offset
vec2 offset [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
offset
vec2 offset [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
scale
vec2 scale [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
scale
vec2 scale [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
activeArea
const(DiArea) activeArea [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
rect
irect rect [@property getter]

возвращает копию прямоугольника

rect
irect rect [@property setter]

вызывает сигнал reshape

lims
size_lim_t!int lims [@property getter]

возвращает копию пределов размера прямоугольника

reparent
void reparent(DiWidget npar)
Undocumented in source. Be warned that the author may not have intended to support it.
reshape
ReshapeSignal reshape;
Undocumented in source.
layout
DiLayout layout;
Undocumented in source.
relayout
EmptySignal relayout;
Undocumented in source.
activate
EmptySignal activate;
Undocumented in source.
release
EmptySignal release;
Undocumented in source.
update
EmptySignal update;
Undocumented in source.
idle
EmptySignal idle;
Undocumented in source.
draw
SignalBoxNoArgs draw;
Undocumented in source.
keyboard
CondDiKeyboardSignal keyboard;
Undocumented in source.
mouse
CondDiMouseSignal mouse;
Undocumented in source.
joystick
CondDiJoySignal joystick;
Undocumented in source.
evtext
CondDiTextSignal evtext;
Undocumented in source.
onDestruct
EmptySignal onDestruct;
Undocumented in source.
destruct
void destruct()
Undocumented in source. Be warned that the author may not have intended to support it.
isDestructed
bool isDestructed [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta