2 * Copyright (c) 2008-2009, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
6 * Artur Wyszynski <harakash@gmail.com>
10 #include <Application.h>
12 #include <MenuField.h>
14 #include <PopUpMenu.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
{
27 GradientsWindow(void);
29 bool QuitRequested(void);
30 virtual void MessageReceived(BMessage
* msg
);
33 BPopUpMenu
* fGradientsMenu
;
34 BMenuItem
* fLinearItem
;
35 BMenuItem
* fRadialItem
;
36 BMenuItem
* fRadialFocusItem
;
37 BMenuItem
* fDiamondItem
;
38 BMenuItem
* fConicItem
;
39 BMenuField
* fGradientsTypeField
;
40 GradientsView
* fGradientsView
;