LXRAD 0.7

capplication.h
Go to the documentation of this file.
1/* ########################################################################
2
3 LXRAD - GUI for X programing
4
5 ########################################################################
6
7 Copyright (c) : 2001 Luis Claudio Gamboa Lopes
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
12 any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22
23 For e-mail suggestions : lcgamboa@yahoo.com
24 ######################################################################## */
25
33#ifndef CAPPLICATION
34#define CAPPLICATION
35
36#include"clxrad.h"
37#include"cwindow.h"
38
39
40
41 class CWindow;
42
48 class CApplication : public wxApp
49{
50 private:
51 CWindow ** AWindowList;
52 int AWindowCount;
53 int Tag;
54 int Run;
55 lxString Title;
56 bool OnInit_();
57 public:
58 virtual bool OnInit();
59 virtual int OnExit();
60 int Aargc;
61 char **Aargv;
62// CApplication (void);
63// ~CApplication (void);
64 void Start (void);
65 void ACreateWindow (CWindow * AWindow, CWindow * window = NULL);
66 bool ADestroyWindow (int w);
67 bool ADestroyWindow (wxCloseEvent * event);
68 int Load (void);
69 void ProcessEvents (wxWindow * window = NULL);
70 //propiedades
71 int GetAWindowCount (void);
72 CWindow *GetAWindow (uint window);
73 void SetTag (int x);
74 int GetTag (void);
75 int GetRun (void);
76 void SetTitle (lxString title);
77 lxString GetTitle ();
78 void SetTips (CControl * control);
79
80};
81
82#endif
CApplication
Application class.
Definition: capplication.h:49
CControl
Generic Control.
Definition: ccontrol.h:47
CWindow
Image Control.
Definition: cwindow.h:50
clxrad.h
cwindow.h