wayland: implement alpha_modifier_v1
This commit is contained in:
parent
131f0481e8
commit
ff54a8ab96
37 changed files with 655 additions and 89 deletions
|
|
@ -216,6 +216,7 @@ impl GuiElement for Button {
|
|||
let (tx, ty) = r.scale_point_f(x1 + self.tex_off_x.get(), y1 + self.tex_off_y.get());
|
||||
r.render_texture(
|
||||
&tex.texture,
|
||||
None,
|
||||
tx.round() as _,
|
||||
ty.round() as _,
|
||||
None,
|
||||
|
|
@ -320,6 +321,7 @@ impl GuiElement for Label {
|
|||
let (tx, ty) = r.scale_point_f(x, y);
|
||||
r.render_texture(
|
||||
&tex.texture,
|
||||
None,
|
||||
tx.round() as _,
|
||||
ty.round() as _,
|
||||
None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue