mardi 28 février 2017

FLTK incorporating FL_window title into FL_input

How to incorporate FL_window title into FL_input and add custom icons on the dialog boxes instead of the system defaults.

#include <FL/Fl.H>
#include <FL/fl_ask.H>
#include <FL/Fl_Input.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Widget.H>
#include <FL/Fl_Text_Display.H>
#include <iostream>

using namespace std;

int main()
{
    Fl_Window beacon (1,1);
    beacon.show();

fl_input("===============================\n"
        "Library Management System\n"
        "===============================");
//return (Fl::run());
}

Aucun commentaire:

Enregistrer un commentaire