commctrl: modularize progress drawing

Dimi Paun dimi at lattica.com
Tue Jul 26 12:14:15 CDT 2005


From: "Frank Richter" <frank.richter at gmail.com>

> Frank Richter <frank.richter at gmail.com>
> Split up the drawing code into a set of smaller functions and also moved
> some common computations into helper functions. All that to facilitate
> the implementation of the forthcoming theming support.


> +static inline int PROGRESS_GetLedSize( PROGRESS_INFO *infoPtr, LONG
style,

It has become the norm lately to not have the ALLCAPS_ prefix
for internal static functions, but rather have names_with_underscores
to easily tell them apart from Win32 APIs.

So for the above, I guess get_led_size() would be preferable.

-- 
Dimi Paun <dimi at lattica.com>
Lattica, Inc.




More information about the wine-devel mailing list