On April 26, 2003 05:40 am, BiGgUn wrote:
- Positioning variables
- */
+USHORT HORIZONTAL_ITEM_PADDING = 6; +USHORT VERTICAL_ITEM_PADDING = 3;
Shouldn't these go in the TAB_INFO structure?
Shouldn't these go in the TAB_INFO structure?
I asked me the same question. The reason why i leave xxx_ITEM_PADDING as variables is that i didn't want to explore the whole code to make further changes. Structure decleration, allocating, freeing.... These modifications can imply other problems also. I thought that it would be more simple to change the #defineS into variables. In this case, there is a minimum changes to do. It may not be the best way but in this way safe code stays safe.
Stephan
On April 26, 2003 11:41 am, BiGgUn wrote:
I thought that it would be more simple to change the #defineS into
variables. In this case, there is a minimum changes to do. It may not be the best way but in this way safe code stays safe.
It is simpler for sure, but this way lies madness. The change is not risky at all, please do it right.