Public Member Functions | |
| void | connectLayout (Receiver *receiver) |
| void | emitCanvasSizeChanged (int width, int ascent, int descent) |
Protected Member Functions | |
| bool | emitToReceiver (lout::signal::Receiver *receiver, int signalNo, int argc, lout::object::Object **argv) |
| A sub class must implement this for a call to a single receiver. | |
Private Types | |
| enum | { CANVAS_SIZE_CHANGED } |
| void dw::core::Layout::Emitter::connectLayout | ( | Receiver * | receiver | ) | [inline] |
| void dw::core::Layout::Emitter::emitCanvasSizeChanged | ( | int | width, | |
| int | ascent, | |||
| int | descent | |||
| ) |
References CANVAS_SIZE_CHANGED, and lout::signal::Emitter::emitVoid().
Referenced by dw::core::Layout::removeWidget(), and dw::core::Layout::resizeIdle().
| bool dw::core::Layout::Emitter::emitToReceiver | ( | lout::signal::Receiver * | receiver, | |
| int | signalNo, | |||
| int | argc, | |||
| lout::object::Object ** | argv | |||
| ) | [protected, virtual] |
A sub class must implement this for a call to a single receiver.
This methods gets the signal in a folded representation, it has to unfold it, and pass it to a single receiver. For boolean signals, the return value of the receiver must be returned, for void signals, the return value is discarded.
Implements lout::signal::Emitter.
References lout::misc::assertNotReached(), CANVAS_SIZE_CHANGED, and dw::core::Layout::Receiver::canvasSizeChanged().
1.5.9