-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPasteOMaticSettings.h
55 lines (43 loc) · 1.26 KB
/
PasteOMaticSettings.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
#ifndef PASTEOMATICSETTINGS_H
#define PASTEOMATICSETTINGS_H
/*
* Copyright 2006-2010, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*
* Author:
* Andras Sevcsik <[email protected]>
*/
#include <ListView.h>
#include <Slider.h>
#include <Window.h>
#define MESSAGE_SETTINGS_AUTOCLIP_CHECK 'sacc'
#define MESSAGE_SETTINGS_ICONSIZE_CHANGED 'sic '
#define MESSAGE_SETTINGS_MOVE_UP 'smup'
#define MESSAGE_SETTINGS_MOVE_DOWN 'smdn'
#define MESSAGE_SETTINGS_DESKBAR_CHECK 'sdc '
class PasteOMaticSettingsGeneral : public BView {
public:
PasteOMaticSettingsGeneral(BRect rect);
virtual ~PasteOMaticSettingsGeneral();
virtual void MessageReceived(BMessage *message);
private:
BSlider *fIconSizeSlider;
};
class PasteOMaticSettingsPasters : public BView {
public:
PasteOMaticSettingsPasters(BRect rect);
virtual ~PasteOMaticSettingsPasters();
private:
BListView *fListView;
};
class PasteOMaticSettingsWindow : public BWindow {
public:
PasteOMaticSettingsWindow(BMessenger *messenger);
virtual ~PasteOMaticSettingsWindow();
virtual void MessageReceived(BMessage *message);
private:
PasteOMaticSettingsGeneral *fGeneralView;
PasteOMaticSettingsPasters *fPastersView;
BMessenger *fViewMessenger;
};
#endif