repository_infos: Enable automatic updates on the main Haiku repostiory.
[haiku.git] / src / apps / gradients / GradientsWindow.h
blobcbf0c254752fb739f21089998999d675ba115b03
1 /*
2 * Copyright (c) 2008-2009, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
5 * Authors:
6 * Artur Wyszynski <harakash@gmail.com>
7 */
10 #include <Application.h>
11 #include <Window.h>
12 #include <MenuField.h>
13 #include <MenuItem.h>
14 #include <PopUpMenu.h>
15 #include <Screen.h>
17 #include "GradientsView.h"
19 #define MSG_LINEAR 'gtli'
20 #define MSG_RADIAL 'gtra'
21 #define MSG_RADIAL_FOCUS 'gtrf'
22 #define MSG_DIAMOND 'gtdi'
23 #define MSG_CONIC 'gtco'
25 class GradientsWindow : public BWindow {
26 public:
27 GradientsWindow(void);
29 bool QuitRequested(void);
30 virtual void MessageReceived(BMessage* msg);
32 private:
33 BPopUpMenu* fGradientsMenu;
34 BMenuItem* fLinearItem;
35 BMenuItem* fRadialItem;
36 BMenuItem* fRadialFocusItem;
37 BMenuItem* fDiamondItem;
38 BMenuItem* fConicItem;
39 BMenuField* fGradientsTypeField;
40 GradientsView* fGradientsView;