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 template <class Type> class Container; 22 class PathContainer; 23 class Style; 24 class StyleContainer; 25 class VectorPath; 26 _END_ICON_NAMESPACE 27 28 _USING_ICON_NAMESPACE 29 30 31 void new_style(rgb_color color, Container<Style>* container, 32 Style** style, AddStylesCommand** command); 33 34 void new_path(Container<VectorPath>* container, VectorPath** path, 35 AddPathsCommand** command, VectorPath* other = NULL); 36 37 #endif // UTIL_H 38