|
Dillo
|
Public Member Functions | |
| void | connectLayout (Receiver *receiver) |
| void | emitResizeQueued (bool extremesChanged) |
| void | emitCanvasSizeChanged (int width, int ascent, int descent) |
Public Member Functions inherited from lout::signal::Emitter | |
| Emitter () | |
| ~Emitter () | |
| void | intoStringBuffer (misc::StringBuffer *sb) |
| Store a textual representation of the object in a misc::StringBuffer. More... | |
Public Member Functions inherited from lout::object::Object | |
| virtual | ~Object () |
| The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. More... | |
| virtual bool | equals (Object *other) |
| Returns, whether two objects are equal. More... | |
| virtual int | hashValue () |
| Return a hash value for the object. More... | |
| virtual Object * | clone () |
| Return an exact copy of the object. More... | |
| const char * | toString () |
| Use object::Object::intoStringBuffer to return a textual representation of the object. More... | |
| virtual size_t | sizeOf () |
| Return the number of bytes, this object totally uses. More... | |
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. More... | |
Protected Member Functions inherited from lout::signal::Emitter | |
| void | emitVoid (int signalNo, int argc, Object **argv) |
| Emit a void signal. More... | |
| bool | emitBool (int signalNo, int argc, Object **argv) |
| Emit a boolean signal. More... | |
| void | connect (Receiver *receiver) |
| Connect a receiver to the emitter. More... | |
Private Types | |
| enum | { RESIZE_QUEUED, CANVAS_SIZE_CHANGED } |
|
inline |
References lout::signal::Emitter::connect().
Referenced by dw::core::Layout::connect().
| void dw::core::Layout::Emitter::emitCanvasSizeChanged | ( | int | width, |
| int | ascent, | ||
| int | descent | ||
| ) |
| void dw::core::Layout::Emitter::emitResizeQueued | ( | bool | extremesChanged | ) |
|
protectedvirtual |
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(), dw::core::Layout::Receiver::canvasSizeChanged(), and dw::core::Layout::Receiver::resizeQueued().
1.8.8