summaryrefslogtreecommitdiff
path: root/dldialog/src/DLD_TV/dld_dialog.h
blob: 50fd615a5262b97b8518e79afa1124e9d5e54872 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/******************************************************************************
**
** $Id: dld_dialog.h,v 1.3 1998/10/13 01:43:51 saturn Exp $
**
**	This program is free software; you can redistribute it and/or
**	modify it under the terms of the GNU General Public License
**	as published by the Free Software Foundation; either version
**	2 of the License, or (at your option) any later version.
**
** (C) (C) 1999,2000 Harald Hoyer <DLDialog@parzelle.de> - All rights reserved -
**
******************************************************************************/

#ifndef DLD_TVDIALOG_H
#define DLD_TVDIALOG_H

#define Uses_TDialog

#include "../dld_dialog.h"
#include "dld_tvobj.h"
#include "dld_tvcontainer.h"

#include <tvision/tv.h>

class DLD_TVApp;

///
class DLD_TVDialog: public TDialog, public DLD_TVContainer, 
		    public DLD_Dialog
{
public:
   ///
   DLD_TVDialog(const string& name, DLD_TVApp *aptr, const DLD_Out path);
   
  ///
   ~DLD_TVDialog();
   
   ///
   void create();

   void insert(TView *p);

   void changeBounds( const TRect& bounds );
   void calcBounds(TRect& bounds, TPoint delta );

   void close_brace() ;
   void handleEvent( TEvent& event );

private: 
   int oh, ow;
};

#endif