00001 /* *********************************************************************************** 00002 Writer: Sebastien Bloc 00003 Copyright: 2003-2004 00004 eMail: sebastien.bloc@free.fr 00005 URL: http://mignonsoft.free.fr 00006 00007 This program is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU General Public License 00009 as published by the Free Software Foundation; either version 2 00010 of the License, or (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 http://www.gnu.org/copyleft/gpl.html 00017 *********************************************************************************** */ 00018 00023 #ifndef INCLUDE_TASK_WINDOW_H 00024 #define INCLUDE_TASK_WINDOW_H 00025 00026 #include "control.h" 00027 #include "window.h" 00028 00029 class ElemTaskWindow 00030 { 00031 public: 00032 Button button; 00033 Title *title; 00034 }; 00035 00036 class TaskWindow: public Window 00037 { 00038 private: 00039 MyList<ElemTaskWindow> tasks; 00040 int Find(Title *title); 00041 Timer timerSupr; 00042 int OnTimerSupr(Timer *); 00043 00044 public: 00045 // dans la zone client 00046 TextBox txtTranche; 00047 00048 TaskWindow(); 00049 ~TaskWindow(); 00050 virtual void Create(); 00051 BOOL Add(Title *title); 00052 BOOL Restore(Title *title); 00053 void Refresh(); 00054 00055 }; 00056 00057 #endif