[Gcblue-commits] gcb_wx/include/graphics tcPlatformGui.h,1.1,1.2
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-06-12 20:47:09
|
Update of /cvsroot/gcblue/gcb_wx/include/graphics In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv593/include/graphics Modified Files: tcPlatformGui.h Log Message: Drag and drop icon gui updates Index: tcPlatformGui.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/graphics/tcPlatformGui.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** tcPlatformGui.h 11 Jun 2005 21:01:43 -0000 1.1 --- tcPlatformGui.h 12 Jun 2005 20:46:27 -0000 1.2 *************** *** 46,49 **** --- 46,50 ---- class tcFlightOpsObject; class tcLauncher; + class tcStoresContainerItem; /** *************** *** 77,80 **** --- 78,82 ---- osg::ref_ptr<osg::Geometry> magazineIcon; osg::ref_ptr<osg::Geometry> flightPortIcon; + osg::ref_ptr<osg::Geometry> fuelIcon; size_t nLaunchers; ///< number of launchers (first idx = 0) *************** *** 83,86 **** --- 85,89 ---- size_t flightPortIdx; ///< slot index of first flightport size_t nFlightPorts; ///< number of flightports (normally 0 or 1) + size_t fuelIdx; ///< slot index of fuel slot float slotSize; ///< dimension of (square) slot *************** *** 90,99 **** wxRealPoint magazineOffset; ///< (x, y) offset between magazines wxRealPoint flightPortLoc; ///< upper-left of flightport ! void AddOrUpdateLauncherItem(tcContainerSlot& slot, tcDatabaseObject* child, tcLauncher* launcher, unsigned int launcherIdx, unsigned int quantity); void HandleDrop(size_t slotIdx, tcContainerItem* item); void InitializeGui(); void OpenFlightPortGui(tcContainerItem* item); --- 93,104 ---- wxRealPoint magazineOffset; ///< (x, y) offset between magazines wxRealPoint flightPortLoc; ///< upper-left of flightport ! wxRealPoint fuelLoc; ///< upper-left of fuel icon void AddOrUpdateLauncherItem(tcContainerSlot& slot, tcDatabaseObject* child, tcLauncher* launcher, unsigned int launcherIdx, unsigned int quantity); + void GetLauncherCompatibilityCaption(unsigned int launcherIdx, wxString& caption); void HandleDrop(size_t slotIdx, tcContainerItem* item); + void HandleFuelDrop(tcStoresContainerItem* item); void InitializeGui(); void OpenFlightPortGui(tcContainerItem* item); |