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

fontsel.cpp

#include <fastgl/fastgl.h>
#include <fastgl/widgets.h>

static void routine(int fnt)
{
    fgl::FGApp::GetRootWindow()->set_font(fnt);
    fgl::FGApp::GetRootWindow()->WindowText(100,100,"A lazzy dog jumps a brown fox!");
}

int main(int argc, char **argv)
{
    fgl::FGApp MyApp(3, argc, argv, fgl::CBLACK, fgl::APP_ENABLEALTX | fgl::APP_ROOTWINDOW);
    fgl::FGFontDialog * cd = new fgl::FGFontDialog(routine);
    MyApp.Run(0);
    delete cd;
    return 0;
}

Generated on Wed Feb 9 11:31:32 2005 for OpenGUI by  doxygen 1.4.0