aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/iconprovider.go (unfollow)
Commit message (Collapse)AuthorFilesLines
7 daysui: account for shield icon move in recent insider buildsJason A. Donenfeld1-0/+8
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-01global: bump copyright dateJason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22global: update headersJason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-16ui: use resource numbers instead of resource indicesJason A. Donenfeld1-2/+2
This makes it stable between Windows versions. HOWEVER! We're still using "1" instead of SHIDI_SHIELD_INTERNAL, because the latter is named instead of numbered. This is a TODO item. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-13build: work with llvm-rc and use numbered iconsJason A. Donenfeld1-2/+2
It's hard to keep these stable between resource compilers, so just use numbers, and roll with 7 to match rsrc/walk. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-15l18n: add localization supportSimon Rozman1-5/+6
Revise the messages to make them localizable. Note: The log messages are not marked for localization. Probably, we want to keep log files in English for easier global troubleshooting. Having a user run `go generate` requires a valid and up-to-date Go environment. Rather than instructing users how to setup the environment correctly, the `go generate` was integrated into build.bat. This reuses the Go building environment downloaded and prepared by build.bat to provide controllable and consistent result. Use `make generate` on Linux. As the zgotext.go output varies for GOARCH=386 and amd64, one had to be chosen to provide stable output. The former is the first one to build in build.bat. Signed-off-by: Simon Rozman <simon@rozman.si>
2019-10-28ui: use unicode …Jason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-07global: cleanup TODO comment spacingJason A. Donenfeld1-3/+3
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-20service: split into tunnel and managerJason A. Donenfeld1-14/+15
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-15ui: fix dpi related code smellsAlexander Neumann1-47/+20
Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-14ui: centralize state labelsJason A. Donenfeld1-0/+22
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-14global: regroup all importsJason A. Donenfeld1-2/+3
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-13ui: do not overlay gray dot on iconJason A. Donenfeld1-0/+3
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-10ui: somewhat aggressively cache iconsJason A. Donenfeld1-21/+71
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-08ui: get correctly sized system iconsv0.0.1Jason A. Donenfeld1-49/+20
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-07ui: move things out of iconproviderJason A. Donenfeld1-115/+24
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-04ui: use more windows iconsJason A. Donenfeld1-24/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-02ui: use system icons instead of green and red dotsJason A. Donenfeld1-24/+4
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-02ui: use system icons in toolbarJason A. Donenfeld1-0/+16
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-02ui: render dots with svgs insteadJason A. Donenfeld1-179/+25
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-02ui: use icons instead of unicode fontJason A. Donenfeld1-8/+8
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-01ui: rework marginsJason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-01ui: better tab icon dot hackJason A. Donenfeld1-1/+5
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-04-30ui: incorrectly adjust icon provider to new dpi awarenessJason A. Donenfeld1-7/+15
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-04-30ui: pick more windowsy colorsJason A. Donenfeld1-3/+3
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-04-29updater: add initial skeletonJason A. Donenfeld1-4/+51
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-04-28ui: partially fix dot placementJason A. Donenfeld1-14/+14
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-04-27ui: simplify everythingJason A. Donenfeld1-47/+41
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-04-24Revert "ui: reduce icon overlay size"Jason A. Donenfeld1-2/+2
This reverts commit 642a7bd76c8b10a4fe846a561bda9296452a7a08. The right way to fix this is by dealing with the DPI stuff properly. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-04-24ui: programmatically compute colorsJason A. Donenfeld1-6/+85
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-04-23ui: reduce icon overlay sizeJason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-04-23ui: overlay main window and tray icons according to tunnel statusAlexander Neumann1-14/+79
Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-04-23ui: better colors of iconsJason A. Donenfeld1-11/+38
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-04-23ui: implement a reusable helper for status image paintingAlexander Neumann1-0/+161
Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>