Department of Computer Science | Institute of Theoretical Computer Science | CADMO
Prof. Emo Welzl and Prof. Bernd Gärtner
This is a short and probably incomplete description of Libwindow, a small library which aims to present an easy C++ interface to the X11 window system. If you want to use the library in your program, do not forget the following include directive.
#include <IFM/window>
The Window Class
|
|
ifm::wio can be used whenever one default ifm::Wstream suffices. It is a so called proxy, i.e., the corresponding X-window and graphic context are created, when ifm::wio is used the first time. Consequently, if ifm::wio is not used anywhere, this creation does not happen and hence no window appears.
Here is a list of classes/objects that can be drawn into an ifm::Wstream using the operator <<.
Here is a list of classes/objects that can be read from an ifm::Wstream using the operator >>.
ifm::Point, ifm::Line, ifm::Rectangle, ifm::FilledRectangle, ifm::Circle, ifm::Ellipse, ifm::FilledCircle, and ifm::FilledEllipse.