mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-08-31 19:22:31 +00:00
print debug
This commit is contained in:
parent
d08f4acba7
commit
20d21ba39c
1 changed files with 2 additions and 1 deletions
|
@ -90,7 +90,6 @@ class AdwcustomizerMainWindow(Adw.ApplicationWindow):
|
||||||
self.monet_theme = themeFromImage(self.monet_img)
|
self.monet_theme = themeFromImage(self.monet_img)
|
||||||
self.monet_palette = self.monet_theme["palettes"]
|
self.monet_palette = self.monet_theme["palettes"]
|
||||||
self.tone = self.tone_row.get_selected_item()
|
self.tone = self.tone_row.get_selected_item()
|
||||||
print(dir(self.tone.get_string()))
|
|
||||||
|
|
||||||
i = 0
|
i = 0
|
||||||
"""
|
"""
|
||||||
|
@ -106,8 +105,10 @@ class AdwcustomizerMainWindow(Adw.ApplicationWindow):
|
||||||
for color in self.monet_palette.values():
|
for color in self.monet_palette.values():
|
||||||
i+=1
|
i+=1
|
||||||
color = color.tone(int(self.tone.get_string()))
|
color = color.tone(int(self.tone.get_string()))
|
||||||
|
print(color)
|
||||||
self.palette_pickers[str(i)].set_rgba(Gdk.RGBA(red=redFromArgb(color), green=greenFromArgb(color), blue=blueFromArgb(color), alpha=alphaFromArgb(color)))
|
self.palette_pickers[str(i)].set_rgba(Gdk.RGBA(red=redFromArgb(color), green=greenFromArgb(color), blue=blueFromArgb(color), alpha=alphaFromArgb(color)))
|
||||||
|
|
||||||
|
self.palette_pickers["1"].set_rgba(Gdk.RGBA(red=redFromArgb(color), green=greenFromArgb(color), blue=blueFromArgb(color), alpha=alphaFromArgb(color)))
|
||||||
#self.get_application().update_theme_from_monet(self.monet_theme)
|
#self.get_application().update_theme_from_monet(self.monet_theme)
|
||||||
|
|
||||||
def setup_monet_page(self):
|
def setup_monet_page(self):
|
||||||
|
|
Loading…
Reference in a new issue