engine_gui.c
changeset 867 dffd33233237
parent 534 306bc86eb23e
child 1009 75140dc68759
equal deleted inserted replaced
866:d242235e6485 867:dffd33233237
    34 
    34 
    35 	return STR_8104_AIRCRAFT;
    35 	return STR_8104_AIRCRAFT;
    36 }
    36 }
    37 
    37 
    38 static const Widget _engine_preview_widgets[] = {
    38 static const Widget _engine_preview_widgets[] = {
    39 {    WWT_TEXTBTN,     5,     0,    10,     0,    13, STR_00C5,			STR_018B_CLOSE_WINDOW},
    39 {    WWT_TEXTBTN,   RESIZE_NONE,     5,     0,    10,     0,    13, STR_00C5,			STR_018B_CLOSE_WINDOW},
    40 {    WWT_CAPTION,     5,    11,   299,     0,    13, STR_8100_MESSAGE_FROM_VEHICLE_MANUFACTURE, STR_018C_WINDOW_TITLE_DRAG_THIS},
    40 {    WWT_CAPTION,   RESIZE_NONE,     5,    11,   299,     0,    13, STR_8100_MESSAGE_FROM_VEHICLE_MANUFACTURE, STR_018C_WINDOW_TITLE_DRAG_THIS},
    41 {     WWT_IMGBTN,     5,     0,   299,    14,   191, 0x0,						STR_NULL},
    41 {     WWT_IMGBTN,   RESIZE_NONE,     5,     0,   299,    14,   191, 0x0,						STR_NULL},
    42 { WWT_PUSHTXTBTN,     5,    85,   144,   172,   183, STR_00C9_NO,		STR_NULL},
    42 { WWT_PUSHTXTBTN,   RESIZE_NONE,     5,    85,   144,   172,   183, STR_00C9_NO,		STR_NULL},
    43 { WWT_PUSHTXTBTN,     5,   155,   214,   172,   183, STR_00C8_YES,	STR_NULL},
    43 { WWT_PUSHTXTBTN,   RESIZE_NONE,     5,   155,   214,   172,   183, STR_00C8_YES,	STR_NULL},
    44 {   WIDGETS_END},
    44 {   WIDGETS_END},
    45 };
    45 };
    46 
    46 
    47 typedef void DrawEngineProc(int x, int y, int engine, uint32 image_ormod);
    47 typedef void DrawEngineProc(int x, int y, int engine, uint32 image_ormod);
    48 typedef void DrawEngineInfoProc(int x, int y, int engine, int maxw);
    48 typedef void DrawEngineInfoProc(int x, int y, int engine, int maxw);