dw::core::Layout::LinkEmitter Class Reference

#include <layout.hh>

List of all members.

Public Member Functions

void connectLink (LinkReceiver *receiver)
bool emitEnter (Widget *widget, int link, int img, int x, int y)
bool emitPress (Widget *widget, int link, int img, int x, int y, EventButton *event)
bool emitRelease (Widget *widget, int link, int img, int x, int y, EventButton *event)
bool emitClick (Widget *widget, int link, int img, int x, int y, EventButton *event)

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  { ENTER, PRESS, RELEASE, CLICK }


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
ENTER 
PRESS 
RELEASE 
CLICK 


Member Function Documentation

void dw::core::Layout::LinkEmitter::connectLink ( LinkReceiver receiver  )  [inline]

bool dw::core::Layout::LinkEmitter::emitClick ( Widget widget,
int  link,
int  img,
int  x,
int  y,
EventButton event 
)

bool dw::core::Layout::LinkEmitter::emitEnter ( Widget widget,
int  link,
int  img,
int  x,
int  y 
)

bool dw::core::Layout::LinkEmitter::emitPress ( Widget widget,
int  link,
int  img,
int  x,
int  y,
EventButton event 
)

bool dw::core::Layout::LinkEmitter::emitRelease ( Widget widget,
int  link,
int  img,
int  x,
int  y,
EventButton event 
)

bool dw::core::Layout::LinkEmitter::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(), dw::core::Layout::LinkReceiver::click(), CLICK, dw::core::Layout::LinkReceiver::enter(), ENTER, dw::core::Layout::LinkReceiver::press(), PRESS, dw::core::Layout::LinkReceiver::release(), and RELEASE.


The documentation for this class was generated from the following files:

Generated on Wed Sep 7 02:00:37 2011 for Dillo by  doxygen 1.5.9