r574: no message
[ctsim.git] / src / backgroundmgr.h
index 3a91537c8a6610071a84b0291e470ed874343bce..d3f49a1304541b6f26361559ffe82f3e9865f3b2 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2001 Kevin Rosenberg
 **
-**  $Id: backgroundmgr.h,v 1.2 2001/02/22 18:22:40 kevin Exp $
+**  $Id: backgroundmgr.h,v 1.3 2001/02/23 02:06:02 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -66,11 +66,19 @@ private:
   typedef std::vector<BackgroundTask*> TaskContainer;
   typedef std::vector<wxGauge*>  GaugeContainer;
   typedef std::vector<std::string*> StringContainer;
+  typedef std::vector<int> PositionContainer;
+  typedef std::vector<wxStaticText*>  LabelContainer;
   TaskContainer m_vecpBackgroundTasks;
   GaugeContainer m_vecpGauges;
   StringContainer m_vecpNames;
+  PositionContainer m_vecpPositions;
+  LabelContainer m_vecpLabels;
+  wxSize m_sizeGauge;
+  wxSize m_sizeLabel;
+  wxSize m_sizeCell;
+  wxSize m_sizeBorder;
 
-  void OnCloseWindow(wxCloseEvent& event);
+  void resizeWindow();
 
 public:
   BackgroundManager ();
@@ -82,7 +90,11 @@ public:
   TaskContainer& getTasks() { return m_vecpBackgroundTasks;}
   GaugeContainer& getGauges() { return m_vecpGauges;}
   StringContainer& getNames() { return m_vecpNames;}
+  PositionContainer& getPositions() { return m_vecpPositions;}
+  LabelContainer& getLabels() { return m_vecpLabels;}
 
+  void OnCloseWindow(wxCloseEvent& event);
+  
   DECLARE_EVENT_TABLE()
 };