Commit Graph
4 Commits
Author SHA1 Message Date
Campbell 965a4188cf Add Font Color menu to Gadget (#362)
Thanks @qwertydog
2021-01-23 11:55:24 +01:00
CampbellandCampbell Harding-Deason faf484eb4c Convert ContextMenu -> ContextMenuStrip, MenuItem -> ToolStripItem, MainMenu -> MenuStrip. (#317)
Also, add ToolStripRadioButtonMenuItem class

Co-authored-by: Campbell Harding-Deason <campbell@alarmnz.com>
2020-10-20 15:41:31 +02:00
CampbellandCampbell Harding-Deason b059f98285 Fix 8 second UI freeze when changing Windows display scale percentage (#249)
* Try modifying existing icon before attempting add

* Prevent setting _created to false if already created and Modify fails

* Remove variable

Co-authored-by: Campbell Harding-Deason <campbell@alarmnz.com>
2020-05-18 10:42:11 +02:00
Campbell 98969ebc3e Added basic Nvidia NVML library support and power usage sensor (#60)
* Added basic Nvidia NVML library support and power usage sensor

* Added basic Nvidia NVML library support and power usage sensor

* Added Initialised check

* Made NvmlDevice internal

* Code formatting

* Move NvmlDevice and NvmlReturn to separate files

* Move code from NvidiaNVMLGPU class to NvidiaGPU class

* Replace call to SetDllDirectory with LoadLibrary/FreeLibrary and code formatting changes

* Made native methods private

* Fixed p/invoke definitions, removed unnecessary try/catch blocks. Code style cleanup
2019-01-27 10:34:04 +01:00