10 Nov
2025
10 Nov
'25
9:50 a.m.
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 */ ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9409#note_121325