Odamex
Setting the Standard in Multiplayer Doom
ag-odalaunch/src/agol_about.h
Go to the documentation of this file.
00001 // Emacs style mode select   -*- C++ -*- 
00002 //-----------------------------------------------------------------------------
00003 //
00004 // $Id: agol_about.h 2163 2011-05-07 19:44:07Z hypereye $
00005 //
00006 // Copyright (C) 2006-2010 by The Odamex Team.
00007 //
00008 // This program is free software; you can redistribute it and/or
00009 // modify it under the terms of the GNU General Public License
00010 // as published by the Free Software Foundation; either version 2
00011 // of the License, or (at your option) any later version.
00012 //
00013 // This program is distributed in the hope that it will be useful,
00014 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 // GNU General Public License for more details.
00017 //
00018 // DESCRIPTION:
00019 //      About Dialog
00020 //
00021 // AUTHORS:
00022 //       Michael Wood (mwoodj at huntsvegas dot org)
00023 //
00024 //-----------------------------------------------------------------------------
00025 
00026 #ifndef _AGOL_ABOUT_H
00027 #define _AGOL_ABOUT_H
00028 
00029 #include "event_handler.h"
00030 
00037 namespace agOdalaunch {
00038 
00044 class AGOL_About : private ODA_EventRegister
00045 {
00046 public:
00050         AGOL_About();
00051 
00055         ~AGOL_About();
00056 
00064         void SetWindowCloseEvent(EventHandler *handler);
00065 
00066 private:
00067         AG_Box       *CreateTopBox(void *parent);
00068         AG_Box       *CreateDevBox(void *parent);
00069         AG_Box       *CreateLicenseBox(void *parent);
00070         AG_Button    *CreateOKButton(void *parent);
00071 
00072         void          OnOK(AG_Event *event);
00073 
00074         AG_Window    *AboutDialog;
00075         AG_Box       *TopBox;
00076         AG_Box       *DevBox;
00077         AG_Box       *LicenseBox;
00078         AG_Button    *OKButton;
00079 
00080         EventHandler *CloseEventHandler;
00081 };
00082 
00083 } // namespace
00084 
00085 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends