35 printf (
"=== Can be deleted? %s.\n",
38 printf (
"=== Can be deleted? %s.\n",
41 printf (
"=== Can be deleted? %s.\n",
44 printf (
"=== Can be deleted? %s.\n",
58 printf (
"=== Can be deleted? %s.\n",
61 printf (
"=== Can be deleted? %s.\n",
64 printf (
"=== Can be deleted? %s.\n",
67 printf (
"=== Can be deleted? %s.\n",
81 printf (
"=== Is deleted now.\n");
99int main (
int argc,
char **argv)
101 printf (
"========== SOLUTION 1 ==========\n");
103 printf (
"========== SOLUTION 2 ==========\n");
105 printf (
"========== SOLUTION 3 ==========\n");
The platform independent interface for image buffers.
virtual Imgbuf * getScaledBuf(int width, int height)=0
virtual void setDeleteOnUnref(bool deleteOnUnref)=0
virtual bool isReferred()=0
virtual bool lastReference()=0
The central class for managing and drawing a widget tree.
Imgbuf * createImgbuf(Imgbuf::Type type, int width, int height, double gamma)
virtual void deleted(ObservedObject *object)=0
An observed object has a signal emitter, which tells the receivers, when the object is deleted.
void connectDeletion(DeletionReceiver *receiver)
static FltkPlatform * platform
The core of Dw is defined in this namespace.
This namespace contains FLTK implementations of Dw interfaces.
This namespace provides base classes to define signals.