xref: /haiku/src/apps/icon-o-matic/Util.h (revision 579f1dbca962a2a03df54f69fdc6e9423f91f20e)
1 /*
2  * Copyright 2006-2007, Haiku. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Stephan Aßmus <superstippi@gmx.de>
7  */
8 #ifndef UTIL_H
9 #define UTIL_H
10 
11 
12 #include <GraphicsDefs.h>
13 
14 #include "IconBuild.h"
15 
16 
17 class AddPathsCommand;
18 class AddStylesCommand;
19 
20 _BEGIN_ICON_NAMESPACE
21 	class PathContainer;
22 	class Style;
23 	class StyleContainer;
24 	class VectorPath;
25 _END_ICON_NAMESPACE
26 
27 _USING_ICON_NAMESPACE
28 
29 
30 void new_style(rgb_color color, StyleContainer* container,
31 			   Style** style, AddStylesCommand** command);
32 
33 void new_path(PathContainer* container, VectorPath** path,
34 			  AddPathsCommand** command, VectorPath* other = NULL);
35 
36 #endif	// UTIL_H
37