|
13.
|
|
|
Style names beginning with an underscore are reserved for Ren'Py use.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:76
|
|
14.
|
|
|
As Ren'Py builds styles on startup, named styles should not be changed outside of init code.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:78
|
|
15.
|
|
|
Style Inspector
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:83
|
|
16.
|
|
|
When :var:`config.developer` is true, the style inspector can be used to see which styles are being used by a displayable.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:85
|
|
17.
|
|
|
To activate the style inspector, place the mouse over a displayable, and press shift+I. Ren'Py will display a list of displayables that include the mouse position, in the order they are drawn to the screen. (That is, the last displayable is the one on top of the others.)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:88
|
|
18.
|
|
|
Click the name of a style to display the styles the displayable inherits from, and the properties each style contributes the to the final displayable.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:93
|
|
19.
|
|
|
Defining Styles: Style Statement
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:98
|
|
20.
|
|
|
The preferred way to define styles is through the style statement::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:100
|
|
21.
|
|
|
If a style does not exist, the style statement creates it. Otherwise, the existing style is modified by the style statement.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:106
|
|
22.
|
|
|
A style statement begins with the keyword ``style`` and the name of the style to define. This is followed on the first line by zero or more clauses, and an optional colon.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:109
|