HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PRM_Item.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
* NAME: PRM_Item
7
*
8
* COMMENTS:
9
* An extension to PRM_Name which allows icons to be specified.
10
*/
11
#ifndef PRM_ITEM_H
12
#define PRM_ITEM_H
13
14
#include "
PRM_API.h
"
15
#include "
PRM_Name.h
"
16
#include <
UT/UT_StringHolder.h
>
17
18
class
PRM_API
PRM_Item
:
public
PRM_Name
19
{
20
public
:
21
PRM_Item
() =
default
;
22
23
PRM_Item
(
const
char
*token,
24
const
char
*
label
= NULL,
25
const
char
*iconname = NULL);
26
27
const
char
*
getIcon
()
const
{
return
myIcon.c_str(); }
28
void
setIcon
(
const
char
*
s
) { myIcon =
s
; }
29
30
private
:
31
UT_StringHolder
myIcon;
32
};
33
34
#endif
label
GLuint GLsizei const GLchar * label
Definition:
glcorearb.h:2545
s
GLdouble s
Definition:
glad.h:3009
PRM_Item
Definition:
PRM_Item.h:18
UT_StringHolder
Definition:
UT_StringHolder.h:1009
PRM_API.h
PRM_Name
Definition:
PRM_Name.h:24
PRM_Item::setIcon
void setIcon(const char *s)
Definition:
PRM_Item.h:28
PRM_Name.h
UT_StringHolder.h
PRM_API
#define PRM_API
Definition:
PRM_API.h:10
PRM_Item::getIcon
const char * getIcon() const
Definition:
PRM_Item.h:27
PRM
PRM_Item.h
Generated on Wed Aug 27 2025 03:07:14 for HDK by
1.8.6