Upgrade other uses of image manipulators
(cherry picked from commit a9dc195379
)
This commit is contained in:
parent
0e4fccfa26
commit
3b4db03a6c
@ -701,7 +701,7 @@ label hg_wager_bj_secret:
|
||||
|
||||
screen hg_wager_bj_secret():
|
||||
zorder 4
|
||||
add im.MatrixColor("images/rooms/overlays/g_circular.webp", im.matrix.saturation(0.0)*im.matrix.brightness(0.7))
|
||||
add Transform("images/rooms/overlays/g_circular.webp", matrixcolor=BrightnessMatrix(.7)*SaturationMatrix(.0))
|
||||
|
||||
text "Replay" pos (50, 50) size 40 color "#FFF" outlines [(5, "#000", 0, 0)] at blink
|
||||
|
||||
|
@ -137,7 +137,7 @@ screen book_menu(page, pages, title, page_title, page_text, page_overflow):
|
||||
xalign 1.0
|
||||
# Next
|
||||
if page < pages:
|
||||
idle im.Alpha("interface/book/hover.webp", 0)
|
||||
idle Transform("interface/book/hover.webp", alpha=0)
|
||||
hover "interface/book/hover.webp"
|
||||
action Return("next")
|
||||
# Fast Back to start
|
||||
@ -151,7 +151,7 @@ screen book_menu(page, pages, title, page_title, page_text, page_overflow):
|
||||
imagebutton:
|
||||
pos (242, 100)
|
||||
ysize 400
|
||||
idle im.Alpha(Transform("interface/book/hover.webp", xzoom=-1.0), 0)
|
||||
idle Transform("interface/book/hover.webp", xzoom=-1.0, alpha=0)
|
||||
hover Transform("interface/book/hover.webp", xzoom=-1.0)
|
||||
action Return("prev")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user