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 
28  /// Constant string representing an in-memory database backend source
29  /// for a gallery model.
30  static const UT_StringHolder IN_MEMORY_DATABASE = ":memory:";
31 
32  enum DiffMarker { A, B, None };
33 };
34 
35 /// Return the label to use for the given gallery item color.
36 UT_API const char *UTgetGalleryItemColorLabel(const UT_StringRef &clr);
37 
38 /// Return the icon resource to use for the given gallery item color.
39 UT_API const char *UTgetGalleryItemColorIcon(const UT_StringRef &clr);
40 
41 /// Return the icon resource to use for the given gallery item color.
43 
44 #endif
#define UT_API
Definition: UT_API.h:14