10 Nov
2025
10 Nov
'25
9:51 a.m.
On Mon Nov 10 09:50:18 2025 +0000, Zhiyi Zhang wrote:
any idea why we have 8 of them? There are 4 states. Then, for each state, there is a function to draw the progress bar and another one to draw the background. For example, draw_theme_bar_H() and draw_theme_bkg_H(). Then, they're called like the following.
drawProcs[0]( &pdi, 0, gapStart); /* Draw progress bar */ drawProcs[1]( &pdi, gapStart, gapEnd); /* Draw background */ drawProcs[0]( &pdi, gapEnd, barSize); /* Draw progress bar */Ah, ok, thanks.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9409#note_121326