Struct UIString
Container for UI string - either raw value
or string resource ID
Set resource id
(string) or plain unicode text (dstring) to it, and get dstring.
Constructors
Name | Description |
---|---|
this
|
create string with i18n resource id
|
this
|
create string with raw value
|
this
|
create string with resource id and raw value as fallback for missing translations
|
Properties
Name | Type | Description |
---|---|---|
id
[get]
|
string |
Returns string resource id
|
id
[set]
|
string |
Sets string resource id
|
value
[get]
|
dstring |
Get value (either raw or translated by id )
|
value
[set]
|
dstring |
Set raw value using property
|
Methods
Name | Description |
---|---|
empty
|
returns true if string is empty : neither resource nor string is assigned
|
opAssign
|
Assign raw value
|
opAssign
|
Assign string resource id
|
Authors
Vadim Lopatin, coolreader.org@gmail.com
Copyright
Vadim Lopatin, 2014
License
Boost License 1.0