xref: /haiku/src/apps/icon-o-matic/Util.h (revision 6427935280aaac0a1a4557bae55184708819560d)
10e1ba39fSStephan Aßmus /*
2325a6253SAxel Dörfler  * Copyright 2006-2007, Haiku. All rights reserved.
30e1ba39fSStephan Aßmus  * Distributed under the terms of the MIT License.
40e1ba39fSStephan Aßmus  *
50e1ba39fSStephan Aßmus  * Authors:
60e1ba39fSStephan Aßmus  *		Stephan Aßmus <superstippi@gmx.de>
70e1ba39fSStephan Aßmus  */
80e1ba39fSStephan Aßmus #ifndef UTIL_H
90e1ba39fSStephan Aßmus #define UTIL_H
100e1ba39fSStephan Aßmus 
11325a6253SAxel Dörfler 
120e1ba39fSStephan Aßmus #include <GraphicsDefs.h>
130e1ba39fSStephan Aßmus 
1425dc253dSIngo Weinhold #include "IconBuild.h"
1525dc253dSIngo Weinhold 
16325a6253SAxel Dörfler 
170e1ba39fSStephan Aßmus class AddPathsCommand;
180e1ba39fSStephan Aßmus class AddStylesCommand;
19325a6253SAxel Dörfler 
2025dc253dSIngo Weinhold _BEGIN_ICON_NAMESPACE
21*64279352SZardshard 	template <class Type> class Container;
220e1ba39fSStephan Aßmus 	class PathContainer;
230e1ba39fSStephan Aßmus 	class Style;
240e1ba39fSStephan Aßmus 	class StyleContainer;
250e1ba39fSStephan Aßmus 	class VectorPath;
2625dc253dSIngo Weinhold _END_ICON_NAMESPACE
2725dc253dSIngo Weinhold 
2825dc253dSIngo Weinhold _USING_ICON_NAMESPACE
29325a6253SAxel Dörfler 
300e1ba39fSStephan Aßmus 
31*64279352SZardshard void new_style(rgb_color color, Container<Style>* container,
320e1ba39fSStephan Aßmus 			   Style** style, AddStylesCommand** command);
330e1ba39fSStephan Aßmus 
34*64279352SZardshard void new_path(Container<VectorPath>* container, VectorPath** path,
350e1ba39fSStephan Aßmus 			  AddPathsCommand** command, VectorPath* other = NULL);
360e1ba39fSStephan Aßmus 
370e1ba39fSStephan Aßmus #endif	// UTIL_H
38