Doxygen documentation of global.h and const.h (in English)
Some small changes in code that don't change the generated executable: - 4 constants that were #defined are now enums, so they automatically get the right value: NB_ICON_SPRITES, NB_BUTTONS, NB_SPECIAL_SHORTCUTS, NB_OPERATIONS. - Some numeric constants replaced by their symbolic value. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@750 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
2
engine.c
2
engine.c
@@ -1597,7 +1597,7 @@ T_Dropdown_button * Window_set_dropdown_button(word x_pos,word y_pos,word width,
|
||||
if (label && label[0])
|
||||
Print_in_window(temp->Pos_X+2,temp->Pos_Y+(temp->Height-7)/2,label,MC_Black,MC_Light);
|
||||
if (display_arrow)
|
||||
Window_display_icon_sprite(temp->Pos_X+temp->Width-10,temp->Pos_Y+(temp->Height-7)/2,6);
|
||||
Window_display_icon_sprite(temp->Pos_X+temp->Width-10,temp->Pos_Y+(temp->Height-7)/2,ICON_DROPDOWN);
|
||||
|
||||
return temp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user