Skip to content

GuildOfCalamity/DesktopClock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💻 WinUI3 - Draggable Desktop Clock

Example Picture

Example Picture

Example Picture

Example Picture

Example Picture

  • Demonstration of transparent/draggable WinUI3 Window widget.
  • This feature is trivial when using the AllowsTransparency property in WPF; but since the WinUI3 Window is meant for x-plat purposes we do not have that luxury.
  • Other Nuget packages include:
    • "Microsoft.Windows.CsWin32" Version="0.3.106"
    • "Microsoft.Windows.CsWinRT" Version="2.0.7"
    • "Microsoft.WindowsAppSDK" Version="1.5.240607001" />
    • "Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.756"

📝 v1.0.0.0 - July 2024

  • Initial commit.
  • Over 330 clock faces to choose from!

🎛️ Usage

  • Right-click to change the clockface asset. This will create a selection window with an ItemsRepeater.
  • Left-click to drag the clock around the desktop (placement will be remembered).
  • When resizing the window, the clock and hands will scale to match.
  • All settings can be found in the executing folder in the file DraggableConfig.json.
  • You can add your own clockface assets into the subfolder Assets. I recommend the size 200px by 200px.
  • There are two versions of each clockface asset:
    • the original asset e.g. "clockface01b.png"
    • same asset with a drop-shadow added e.g. "clockface01c.png"

🧾 License/Warranty

  • Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish and distribute copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  • The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the author or copyright holder be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
  • Copyright © 2023-2024. All rights reserved.

📋 Proofing

  • This application was compiled and tested using VisualStudio 2022 on Windows 10 versions 22H2, 21H2 and 21H1.