-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
161 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using Gtk 4.0; | ||
|
||
menu menu { | ||
section { | ||
item { | ||
label: _("Copy Colors to Clipboard"); | ||
action: "win.action_export_txt"; | ||
} | ||
|
||
item { | ||
label: _("Copy Colors Image to Clipboard"); | ||
action: "win.action_export_png"; | ||
} | ||
} | ||
|
||
section { | ||
item { | ||
label: _("Keyboard Shortcuts"); | ||
action: "win.action_keys"; | ||
} | ||
|
||
item { | ||
label: _("About Colorway"); | ||
action: "win.action_about"; | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
using Gtk 4.0; | ||
using He 1; | ||
|
||
template $ColorwayMainWindow : He.ApplicationWindow { | ||
resizable: false; | ||
title: "Colorway"; | ||
|
||
Box main_box { | ||
orientation: vertical; | ||
|
||
styles [ | ||
"main-box", | ||
] | ||
|
||
Overlay { | ||
[overlay] | ||
He.AppBar headerbar { | ||
show-back: false; | ||
valign: start; | ||
viewtitle-widget: | ||
He.TextField color_label { | ||
tooltip-text: _("Change color (hexcode)"); | ||
halign: start; | ||
|
||
styles [ | ||
"numeric", | ||
] | ||
}; | ||
|
||
MenuButton menu_button { | ||
icon-name: "open-menu-symbolic"; | ||
} | ||
} | ||
|
||
WindowHandle { | ||
vexpand: true; | ||
hexpand: true; | ||
|
||
Box { | ||
orientation: horizontal; | ||
|
||
Box { | ||
orientation: vertical; | ||
vexpand: true; | ||
|
||
He.OverlayButton color_picker_button { | ||
icon: "color-select-symbolic"; | ||
primary-tooltip: _("Pick Color"); | ||
typeb: primary; | ||
size: small; | ||
|
||
styles [ | ||
"clr-preview", | ||
] | ||
|
||
Box { | ||
orientation: vertical; | ||
|
||
Box props_box { | ||
orientation: vertical; | ||
spacing: 6; | ||
margin-start: 18; | ||
margin-end: 18; | ||
margin-top: 118; | ||
|
||
Box color_box { | ||
} | ||
} | ||
|
||
styles [ | ||
"clr-props", | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.