HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_GalleryTypes.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * COMMENTS:
7  */
8 
9 #ifndef UT_GALLERYTYPES_H
10 #define UT_GALLERYTYPES_H
11 
12 #include "UT_API.h"
13 #include "UT_Options.h"
14 #include "UT_StringHolder.h"
15 
16 namespace UT_Gallery
17 {
18  /// Tag to indicate a snapshot was generated automatically (on a timer).
19  static const UT_StringLit AUTO_TAG = "auto";
20  /// Tag to indicate an item has been "starred" (marked as a favorite).
21  static const UT_StringLit STAR_TAG = "star";
22 
23  /// String to identify data source items that are render snapshots.
24  static const UT_StringLit ITEM_TYPE_SNAPSHOT = "snapshot";
25  /// String to identify data source items that are USD/geometry assets.
26  static const UT_StringLit ITEM_TYPE_ASSET = "asset";
27  /// String to identify data source items that are materials.
28  static const UT_StringLit ITEM_TYPE_MATERIAL = "material";
29  /// String to identify data source items that are just folders.
30  static const UT_StringLit ITEM_TYPE_FOLDER = "folder";
31 
32  /// Constant string representing an in-memory database backend source
33  /// for a gallery model.
34  static const UT_StringHolder IN_MEMORY_DATABASE = ":memory:";
35 
36  enum DiffMarker { A, B, None };
37 };
38 
39 /// Return the label to use for the given gallery item color.
40 UT_API const char *UTgetGalleryItemColorLabel(const UT_StringRef &clr);
41 
42 /// Return the icon resource to use for the given gallery item color.
43 UT_API const char *UTgetGalleryItemColorIcon(const UT_StringRef &clr);
44 
45 /// Return the icon resource to use for the given gallery item color.
47 
48 #endif
#define UT_API
Definition: UT_API.h:14