[h3]Since Tianjin has been affected by the Omikron epidemic recently, it has been doing nucleic acid testing, and the unit has to make promotional videos. Basically, there is no time to write code in the past two weeks, and the update has been extended for so long.
The next version will be pushed to the beta channel in the next two days, and then please download and test to fix the bugs for a week. The next steam promotion on the 28th will release the official version update, and of course there will be discounts.[/h3]
[h3]Changelog[/h3]
- Optimize the display and hiding of the dock. If a program has multiple windows, it will detect all the window states of the program to prevent frequent display and hiding problems of the dock. For example, using Pr to edit videos often displays by themselves (Because lately I've been making videos )
- The screen trigger angle is increased to activate win11 widgets
- Added dock window border shortcut key function
- Optimize some other problems (too long to forget)
- Added the function of dock background skin
[hr][/hr]
[h3]dock skin development documentation[/h3]
file path
- Skin path----program installation directory/themes/skin name/dockskin
- Skin configuration file----config.ini
[h3]cover element[/h3]
- dock background image
- run indicator
- delimiter
- progress bar
- Blur background mask (requires a little PS basics)
[hr][/hr]
[h3]The first part dock background image[/h3]
[config]
bg=bg.png
clip_left=56
clip_top=56
clip_right=76
clip_bottom=76
space_left=34.1
space_top=15.1
space_right=34.1
space_bottom=45
blur_mask=mask.png
- bg is the image of the dock background, blur_mask is the mask of the blurred background

- The four configurations of clip are the nine-grid cutting points of the bg picture

[hr][/hr]
[h3]The following is the usage of the skin image interval, which needs to be explained in detail. It is not the same as other dock software skins, and some optimizations have been made.[/h3]
- Taking space_left as an example, left is the distance between the dock icon and the left side of the skin background. The configuration is divided into two forms: integer and decimal. The integer is a fixed distance, and the decimal is the distance dynamically transformed according to the size of the icon.
- For example space_left=30

- space_left=30.5, the icon size is 50

At present, the default theme that comes with it is this dynamic distance. The larger the icon, the larger the distance, and the smaller the icon, the smaller the distance, so that the whole is more coordinated.
[hr][/hr]
[h3]Blur Mask File[/h3]

- The mask file and the dock background are stretched using the same nine-square configuration file. The transparent place will not be blurred, and the black and opaque ones will be blurred. If there is no blur mask file, the blur effect will not be displayed.
[hr][/hr]
[h3]Run indicator file[/h3]
runoffset=24
run=run.png
- offset is the offset distance of the running indicator, which can be negative. The display size of the indicator is the size of the picture, and it will not be stretched and displayed.
[hr][/hr]
[h3]Delimited file[/h3]
limclip_top=6
limclip_bottom=6
delimiter=sep.png
- limclip is the vertical stretch position of the nine-square grid of the separator picture. The separator is not displayed horizontally stretched, and the width of the picture is the display width of the separator.
[hr][/hr]
[h3]progress bar file[/h3]
progressbar_frame=pro_frame.png
progressbar_bg=pro_bg.png
proclip_left=5
proclip_right=6
- progressbar_frame is the background file of the progress bar border, progressbar_bg is the filling background of the actual progress of the progress bar, and proclip is the horizontal stretching configuration of the nine-square grid of the progress bar. The image height of the progress bar is the same as that of the running indicator.
[hr][/hr]
[h3]Dark profile[/h3]
bg_dark=bg_dark.png
run_dark=run_dark.png
delimiter_dark=delimiter_dark.png
progressbar_frame_dark=pro_frame_dark.png
progressbar_bg_dark=pro_bg_dark.png
- These are the dark mode pictures of all the above materials, and they don't have to be created, but the dock background will not change when switching dark mode.
[hr][/hr]
[h3]Required files for the theme[/h3]
- [h3]config.ini and bg=bg.png, as long as you have these two files, you can create a skin, other images can be omitted, and the images without them will use the default theme elements that come with them.
Note: If the theme includes a running indicator image but no progress bar image, the progress bar will no longer be displayed under the dock icon, and vice versa.
All image materials are when the dock is placed at the bottom of the screen. If the dock is displayed on the left and right sides of the screen, the skin image will automatically rotate.[/h3]