-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathDeskNoteTextView.h
More file actions
40 lines (29 loc) · 861 Bytes
/
DeskNoteTextView.h
File metadata and controls
40 lines (29 loc) · 861 Bytes
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
/*
* Original copyright 2000 by Colin Stewart (http://www.owlfish.com/).
* All rights reserved.
* Distributed under the terms of the BSD (3-clause) License.
*
* Authors:
* Janus2, 2015
* Humdinger, 2021
*
*/
#ifndef _DESKNOTETEXTVIEW_H
#define _DESKNOTETEXTVIEW_H
#include <InterfaceKit.h>
#include <String.h>
#include <Application.h>
#include "DeskNoteApp.h"
class DeskNoteTextView : public BTextView {
public:
DeskNoteTextView (BRect textViewRect, const char *name,
BRect textRect, uint32 resizingMode, uint32 flags);
DeskNoteTextView (BMessage *data);
virtual status_t Archive (BMessage *data, bool deep = true) const;
virtual void MessageReceived(BMessage* msg);
void MouseDown (BPoint point);
static BArchivable* Instantiate (BMessage *data);
private:
BString strId;
};
#endif // _DESKNOTETEXTVIEW_H