Hi All
I was just wondering, is there any benefit in me drawing my own buttons (just rectangles) over loading 80 of them from resources?
Thanks
Hi All
I was just wondering, is there any benefit in me drawing my own buttons (just rectangles) over loading 80 of them from resources?
Thanks
It depends on the complexity of the drawn buttons..
"More complex drawings = more processing time .."
But images somehow have constant time loading
"Whatever the image looks like = nearly same processing time.."
Conculsion:
I will prefer drawing buttons if few simple operations are in
But in more complex cases (like color gradient or something) , I prefer stored images..
Also note that some UI must be done in gdi+ and can not be done otherwise..
for example circular buttons or animations..
Stored images don't have full flexibility of GDI+