forked from HaikuArchives/HexVexed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAboutWindow.h
57 lines (48 loc) · 823 Bytes
/
AboutWindow.h
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
54
55
56
57
/*
* Copyright 2009-2012 Scott McCreary
* Based on BeVexed by DarkWyrm Copyright 2007-2009
*
* Distributed under terms of the MIT License.
*
*/
#ifndef ABOUTWINDOW_H
#define ABOUTWINDOW_H
#include <Window.h>
#include <View.h>
#include <Bitmap.h>
#include <Button.h>
#include <Messenger.h>
#include <Font.h>
#include <StatusBar.h>
enum
{
ABOUT_STARTUP=0,
ABOUT_OK,
ABOUT_OK2=2
};
enum
{
M_RESET_STATUS='mrst',
M_SET_STATUS='msst',
M_UPDATE_STATUS='mups'
};
class AboutView : public BView
{
public:
AboutView(BRect frame);
~AboutView(void);
void AttachedToWindow(void);
void Draw(BRect update);
void MouseDown(BPoint pt);
BBitmap *fLogo;
char version[64];
BPoint versionpos;
uint8 fAboutFlags;
int32 fEntryCount;
};
class AboutWindow : public BWindow
{
public:
AboutWindow(void);
};
#endif