aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/listview.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ui: reduce iteration nesting when removing old tunnelsSimon Rozman2020-02-231-13/+6
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: more accurate listview icon drawingJason A. Donenfeld2019-10-281-18/+16
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: do not scroll list view horizontallyJason A. Donenfeld2019-10-241-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: fix classic theme drawing with gross hackJason A. Donenfeld2019-10-241-46/+73
| | | | | | | | | | Classic theme won't draw transparent images. But new theme erases the text if we draw ourselves, and we want the OS to draw the text so that we have better accessibility. Support both by hacking classic theme with a zero-sized transparent image for the indentation, while using the transparent image normally for new theme. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: use native styling on list viewJason A. Donenfeld2019-10-241-44/+52
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: cleanup TODO comment spacingJason A. Donenfeld2019-06-071-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: cache last observed stateJason A. Donenfeld2019-06-071-5/+15
| | | | | | | | Sometimes State() is out of sync with the notifications when a service removal is pending. This unifies that, and also removes IPC from the main thread. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: fix listview painting on win 7 classic theme and high contrast themesAlexander Neumann2019-05-231-13/+2
| | | | | Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* service: split into tunnel and managerJason A. Donenfeld2019-05-201-13/+13
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: fix dpi related code smellsAlexander Neumann2019-05-151-1/+1
| | | | | Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: disallow empty space left clicks in listviewAnthony Dong2019-05-151-0/+1
| | | | | Signed-off-by: Anthony Dong <aanthony.dong@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: regroup all importsJason A. Donenfeld2019-05-141-1/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: somewhat aggressively cache iconsJason A. Donenfeld2019-05-101-1/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: get correctly sized system iconsv0.0.1Jason A. Donenfeld2019-05-081-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: move things out of iconproviderJason A. Donenfeld2019-05-071-3/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: use natural sorting orderJason A. Donenfeld2019-05-051-5/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: fix thundering herd problem in importing/deletingJason A. Donenfeld2019-05-031-5/+25
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: fix up confview ticker and list sync logicJason A. Donenfeld2019-05-031-7/+11
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: double buffer list viewJason A. Donenfeld2019-05-031-1/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: rename things to say tunnel lessJason A. Donenfeld2019-05-021-0/+227
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>