/* * $Id$ * * ELMA, Ede Login MAnager * Part of Equinox Desktop Environment (EDE). * Copyright (c) 2008 EDE Authors. * * This program is licensed under terms of the * GNU General Public License version 2 or newer. * See COPYING for details. */ #ifndef __ELMAWINDOW_H__ #define __ELMAWINDOW_H__ #include class Background; class TextArea; class Fl_Box; struct ElmaTheme; class ElmaWindow : public Fl_Double_Window { private: Background* bkg; TextArea* user_in; TextArea* pass_in; Fl_Box* error_display; Fl_Box* info_display; bool deny_mode; int box_mode; void validate_user(void); public: ElmaWindow(int W, int H); ~ElmaWindow(); void allow_input(void); void deny_input(void); bool create_window(ElmaTheme* et); virtual int handle(int event); }; #endif