|
71.
|
|
|
Here's an example of registering a style property that allows the user to choose between large, simple text and smaller outlined text.
|
|
|
|
Here's an example of registering a style property that allows the user to choose between large, simple text and smaller outlined text.
|
|
Translated and reviewed by
Stephan Woidowski
|
|
|
|
Located in
../../source/style.rst:254
|
|
72.
|
|
|
The following code will allow the user to select these alternatives using buttons::
|
|
|
|
The following code will allow the user to select these alternatives using buttons::
|
|
Translated and reviewed by
Stephan Woidowski
|
|
|
|
Located in
../../source/style.rst:266
|
|
73.
|
|
|
Other Style Functions
|
|
|
|
Other Style Functions
|
|
Translated and reviewed by
Stephan Woidowski
|
|
|
|
Located in
../../source/style.rst:273
|
|
74.
|
|
|
This causes named styles to be rebuilt, allowing styles to be changed outside of init code.
|
|
|
|
This causes named styles to be rebuilt, allowing styles to be changed outside of init code.
|
|
Translated and reviewed by
Stephan Woidowski
|
|
|
|
Located in
../../source/style.rst:277
|
|
75.
|
|
|
Named styles are not saved as part of the per-game data. This means that changes to them will not be persisted through a save and load cycle.
|
|
|
|
Named styles are not saved as part of the per-game data. This means that changes to them will not be persisted through a save and load cycle.
|
|
Translated and reviewed by
Stephan Woidowski
|
|
|
|
Located in
../../source/style.rst:282
|