summaryrefslogtreecommitdiff
path: root/examples/windoze/bcowl25/multimod/tversedt.h
blob: 97f2c6c0e301280028b8ebedce0f2e05f283e043 (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
#if !defined(__tversedt_h)              // Sentry, use file only if it's not already included.
#define __tversedt_h

/*  Project sword
    
    GNU Copyleft GPL � 1995. Almost No Rights Reserved.

    SUBSYSTEM:    sword.apx Application
    FILE:         tversedt.h
    AUTHOR:       The Sword Project Team


    OVERVIEW
    ========
    Class definition for TVerseEdit (TEdit).      
*/

#include <owl\owlpch.h>
#pragma hdrstop


#include "swordapp.rh"            // Definition of all resources.


//{{TEdit = TVerseEdit}}
class TVerseEdit : public TEdit {
public:
	TVerseEdit(TWindow* parent, int id, const char far* text, int x, int y, int w, int h, uint textLen = 0, bool multiline = false, TModule* module = 0);
	TVerseEdit(TWindow* parent, int resourceID, uint textLen = 0, TModule* module = 0) : TEdit(parent, resourceID, textLen, module) {}

    virtual ~TVerseEdit ();

//{{TVerseEditVIRTUAL_BEGIN}}
public:
    virtual void SetupWindow ();
//{{TVerseEditVIRTUAL_END}}

//{{TVerseEditRSP_TBL_BEGIN}}
protected:
	TPopupMenu PopupMenu;
    void EvRButtonDown (uint modKeys, TPoint& point);
    void EbdLookUp();
    void VbdLookUp();
//{{TVerseEditRSP_TBL_END}}
DECLARE_RESPONSE_TABLE(TVerseEdit);
};    //{{TVerseEdit}}


#endif                                      // __tversedt_h sentry.