|
71.
|
|
|
Here's an example of registering a style property that allows the user to choose between large, simple text and smaller outlined text.
|
|
|
|
Aqui está um exemplo de registro de uma propriedade de estilo que permite ao usuário escolher entre um texto grande e simples e um texto contornado menor.
|
|
Translated and reviewed by
N0YkcHuGce
|
|
|
|
Located in
../../source/style.rst:254
|
|
72.
|
|
|
The following code will allow the user to select these alternatives using buttons::
|
|
|
|
O código a seguir permitirá ao usuário selecionar essas alternativas usando os botões:
|
|
Translated and reviewed by
N0YkcHuGce
|
|
|
|
Located in
../../source/style.rst:266
|
|
73.
|
|
|
Other Style Functions
|
|
|
|
Outras funções de estilo
|
|
Translated and reviewed by
N0YkcHuGce
|
|
|
|
Located in
../../source/style.rst:273
|
|
74.
|
|
|
This causes named styles to be rebuilt, allowing styles to be changed outside of init code.
|
|
|
|
Isso faz com que os estilos nomeados sejam reconstruídos, permitindo que os estilos sejam alterados fora do código init.
|
|
Translated and reviewed by
N0YkcHuGce
|
|
|
|
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.
|
|
|
|
Os estilos nomeados não são salvos como parte dos dados por jogo. Isso significa que as alterações feitas neles não serão mantidas por meio de um ciclo de salvamento e carregamento.
|
|
Translated and reviewed by
N0YkcHuGce
|
|
|
|
Located in
../../source/style.rst:282
|