Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

GDKImageFilter Class Reference

Public abstract class for image filters with additional GUI inputs and feedback. More...

#include <image_filters.h>

Inheritance diagram for GDKImageFilter:

Inheritance graph
[legend]
Collaboration diagram for GDKImageFilter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~GDKImageFilter ()
virtual void AttachWidgets (GtkBin *bin)
virtual void DetachWidgets (GtkBin *bin)
virtual void InterpretWidgets (GtkBin *bin)

Detailed Description

Public abstract class for image filters with additional GUI inputs and feedback.

This allows a filter to attach and interpret any additional widgets in the container provided.

The activation of the AttachWidget and DetachWidgets is handled automatically by the repository on the detection of a selection change.

InterpretWidgets must be called (by the repository owner) before the first call to FilterFrame.

If an implementation doesn't attach any widgets, the default implementation is enough (though the adapter will give you that anyway).

As an example (unimplemented): the image repository could expose a single filter called Mirror, and the AttachWidgets could provide a GUI component to obtain a Left or Right user preference. The FilterFrame would then be sensitive to the users selection. Note that the current implementation exposes two filters in the repository for this.

Definition at line 80 of file image_filters.h.


Constructor & Destructor Documentation

virtual GDKImageFilter::~GDKImageFilter  )  [inline, virtual]
 

Definition at line 83 of file image_filters.h.

00083 {}


Member Function Documentation

virtual void GDKImageFilter::AttachWidgets GtkBin *  bin  )  [inline, virtual]
 

Reimplemented in ImageFilterMirror, ImageFilterKaleidoscope, and ImageFilterSwap.

Definition at line 84 of file image_filters.h.

Referenced by GDKImageFilterRepository::SelectionChange().

00084 { }

virtual void GDKImageFilter::DetachWidgets GtkBin *  bin  )  [inline, virtual]
 

Reimplemented in ImageFilterMirror, ImageFilterKaleidoscope, and ImageFilterSwap.

Definition at line 85 of file image_filters.h.

Referenced by GDKImageFilterRepository::SelectionChange().

00085 { }

virtual void GDKImageFilter::InterpretWidgets GtkBin *  bin  )  [inline, virtual]
 

Definition at line 86 of file image_filters.h.

Referenced by PageMagickFilter::Initialise().

00086 { }


The documentation for this class was generated from the following file:
Generated on Sun Mar 11 22:12:58 2007 for Kino by  doxygen 1.4.2