[My Project]

Package Name: ScanDoc

class Fl_ScanDoc_Widget


class Fl_ScanDoc_Widget

Author:James Dean Palmer
Version:1.0.0
Source:example.h
Base classes: Fl_Widget

This is a hypothetical widget class for ScanDoc that tests various ScanDoc features.

Member Index

Class Variables

static const bool normalize;
True if values should be normalized.

char* tip;
A "tip" that should be associated with this widget.

static int value_assignments;
Total value assignments made.

Class Methods

Fl_ScanDoc_Widget(int x, int y, int w, int h, char *l);
The ScanDoc widget constructor.

Parameters
xThe x coordinate for this widget.
yThe y coordinate for this widget.
wThe width for this widget.
hThe height for this widget.
lThe label for this widget.
int value();
Get the value associated with this widget.

Return Value
The value of this widget, or -1 if no value has been set.

void value(int v);
Set the value associated with this widget.

Parameters
vThe value that should be associated with this widget.

Global Functions

Fl_ScanDoc_Widget* scandoc_factory();
A factory function to generate ScanDoc widgets.

Return Value
The last Fl_ScanDoc_Widget generated by the factory.


© 2000 [My Name]
Generated by ScanDoc 0.12
Last Updated: Fri Jan 26 11:41:50 GMT 2001