[Frontierproject-cvs] frontierproject/include autoTarget.h,NONE,1.1 FrontierClient.h,1.5,1.6 gui_mai
Status: Pre-Alpha
Brought to you by:
bdragon28
|
From: Brandon B. <bdr...@us...> - 2006-05-17 20:45:36
|
Update of /cvsroot/frontierproject/frontierproject/include In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv29547/include Modified Files: FrontierClient.h gui_mainscreen.h widget_painter.h Added Files: autoTarget.h Log Message: Add autoTarget. The Set Packet Dest button works now. --- NEW FILE: autoTarget.h --- /***************************************************************************** * Copyright (C) 2006 Brandon Bergren * * * * This file is part of The Frontier Project. * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the Free Software * * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * * * ****************************************************************************/ #ifndef AUTOTARGET_H #define AUTOTARGET_H /** * AutoTarget. * So there I was, wondering how the hell I was going to make the Set Packet Destination * button work. All of the sudden, I had a flash of inspiration. */ class autoTarget { public: static bool init(); static FXDataTarget* tieInt(const char *key, FXint def=0); // static FXIcon* getIcon(const FXchar *name); // static FXIcon* getPlanetIcon(int num); // static FXIcon* getPartSlot(const FXchar *name); private: autoTarget(); ~autoTarget(); }; #endif Index: gui_mainscreen.h =================================================================== RCS file: /cvsroot/frontierproject/frontierproject/include/gui_mainscreen.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** gui_mainscreen.h 16 May 2006 22:42:17 -0000 1.4 --- gui_mainscreen.h 17 May 2006 20:45:29 -0000 1.5 *************** *** 46,56 **** { ID_CANVAS = FXMainWindow::ID_LAST, ! ID_MNU_HELP_ABOUT, ! ID_MNU_DEBUG_SHOWCONSOLE, ! ID_MNU_DEBUG_GENTURN, ! ID_MNU_DEBUG_SHOWRACE, ! ID_MNU_DEBUG_SHOWGAMESETUP, ! ID_MNU_DEBUG_SHOWSD, ! ID_MNU_DEBUG_ADDSHIP, ID_TOOLBARBUTTONS, ID_LAST --- 46,57 ---- { ID_CANVAS = FXMainWindow::ID_LAST, ! ID_M_COMM_SD, ! ID_M_HELP_ABOUT, ! ID_M_DBG_CONSOLE, ! ID_M_DBG_TURN, ! ID_M_DBG_RACE, ! ID_M_DBG_GS, ! ID_M_DBG_SHOWSD, ! ID_M_DBG_ADDSHIP, ID_TOOLBARBUTTONS, ID_LAST Index: FrontierClient.h =================================================================== RCS file: /cvsroot/frontierproject/frontierproject/include/FrontierClient.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** FrontierClient.h 16 May 2006 20:47:07 -0000 1.5 --- FrontierClient.h 17 May 2006 20:45:29 -0000 1.6 *************** *** 35,38 **** --- 35,39 ---- #include "ClientObjects.h" #include "gdArt.h" + #include "autoTarget.h" //Misc. includes Index: widget_painter.h =================================================================== RCS file: /cvsroot/frontierproject/frontierproject/include/widget_painter.h,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** widget_painter.h 14 May 2006 03:28:10 -0000 1.13 --- widget_painter.h 17 May 2006 20:45:29 -0000 1.14 *************** *** 127,130 **** --- 127,131 ---- protected: FXPixel bgcol; + FXint simulateShift; //Disable default and copy ctors. |