|
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
|
|
23.
|
|
|
If the colon is present, a block must follow. Each line of the block should contain one ore more clauses. Otherwise, the statement is complete.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:113
|
|
24.
|
|
|
The style statement accepts the following clauses:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:116
|
|
25.
|
|
|
`style-property` `simple-expression`
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:120
|
|
26.
|
|
|
Assigns the value of the simple expression to the given style property.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/style.rst:119
|