winutil/functions/private
MyDrift 5059b93cd7
Better Image handling (#2665)
* enhance asset mgmt

- invoke ico directly
- invoke ico only at shortcut creation
- remove "ConvertTo-Icon" Function file

- removed image from xaml
- added stackpanel to xaml
- added functions to create viewbox with image
- added logic to add image via code to xaml & customdialog
- changed title color for customdialog

- remove webinvokes for assets from main.ps1

TODO: convert images into bitmap base64 string & add them directly into invoke-WinUtiltaskbaritem.ps1

* improve viewboxfunction

- add logo + checkmark + warning
- add params
- render on param "render"
- custom dialog logo function call fix
- main logo function call fix
- update winutiltaskbaritem to use new images

* fix sizing

- warning & checkmark sizing fix
- remove unneded comments

* fixes

- remove unneeded redundancy of "$canvas = New-Object Windows.Controls.Canvas"
- adjust empty lines
- use LimeGreen instead of Green

* fix layouting

* fixes

- use correct ctt blue color #0567ff
- remove unneeded comments
- rename Logoview to assets

* performance improvement

instead of rendering the image another time on each item switch, it caches it at the start and uses the render afterwards

* redo gray part of winutil logo

* correct gray shade

* fix coloring

* ise ico if available

---------

Co-authored-by: Chris Titus <contact@christitus.com>
2024-09-09 20:19:34 -05:00
..
Copy-Files.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Get-LocalizedYesNo.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Get-Oscdimg.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Get-WinUtilCheckBoxes.ps1 Test 2024 04 20 2 (#2030) 2024-06-04 22:27:27 -05:00
Get-WinUtilInstallerProcess.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Get-WinUtilToggleStatus.ps1 fix get state & add disable emoticon (#2554) 2024-08-12 17:10:44 -05:00
Get-WinUtilVariables.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Get-WinUtilWingetLatest.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Get-WinUtilWingetPrerequisites.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Get-WPFObjectName.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Install-WinUtilChoco.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Install-WinUtilProgramChoco.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Install-WinUtilWinget.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilAssets.ps1 Better Image handling (#2665) 2024-09-09 20:19:34 -05:00
Invoke-WinUtilBingSearch.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilCurrentSystem.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilDarkMode.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilDetailedBSoD.ps1 fix get state & add disable emoticon (#2554) 2024-08-12 17:10:44 -05:00
Invoke-WinUtilFeatureInstall.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilGPU.ps1 Improve preprocessor (#2579) 2024-09-09 20:05:10 -05:00
Invoke-WinUtilHiddenFiles.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilMicroWin-Helper.ps1 Improve preprocessor (#2579) 2024-09-09 20:05:10 -05:00
Invoke-WinUtilMouseAcceleration.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilNumLock.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilScript.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilShowExt.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilSnapFlyout.ps1 Toggle logic cleanup (#2527) 2024-08-28 12:40:56 -05:00
Invoke-WinUtilSnapSuggestion.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilSnapWindow.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilSponsors.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilStickyKeys.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilTaskbarAlignment.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilTaskbarSearch.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilTaskbarWidgets.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilTaskView.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilTweaks.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilVerboseLogon.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Invoke-WinUtilWingetProgram.ps1 Edge Removal Fix 2024-08-06 15:50:36 -05:00
Remove-WinUtilAPPX.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Set-WinUtilDNS.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Set-WinUtilProgressbar.ps1 Edge Removal Fix 2024-08-06 15:50:36 -05:00
Set-WinUtilRegistry.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Set-WinUtilScheduledTask.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Set-WinUtilService.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Set-WinUtilTaskbarItem.ps1 Better Image handling (#2665) 2024-09-09 20:19:34 -05:00
Set-WinUtilUITheme.ps1 [02] Refactoring code (Reopening of PR #2469, plus some modifications to make PR #2629 merge easily without any problem) (#2630) 2024-08-28 11:08:39 -05:00
Show-CustomDialog.ps1 Better Image handling (#2665) 2024-09-09 20:19:34 -05:00
Test-WinUtilPackageManager.ps1 Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383) 2024-08-06 15:35:17 -05:00
Uninstall-WinUtilEdgeBrowser.ps1 Edge removal improvements (#2540) 2024-08-13 13:49:08 -05:00
Update-WinUtilProgramWinget.ps1 Improve Transcript (#2620) 2024-08-28 17:02:00 -05:00