00001 // winlocations.h 00002 // 00003 // Copyright (C) 2003, Chris Laurel <claurel@shatters.net> 00004 // 00005 // Miscellaneous utilities for Locations UI implementation. 00006 // 00007 // This program is free software; you can redistribute it and/or 00008 // modify it under the terms of the GNU General Public License 00009 // as published by the Free Software Foundation; either version 2 00010 // of the License, or (at your option) any later version. 00011 00012 #ifndef _CELESTIA_WINLOCATIONS_H_ 00013 #define _CELESTIA_WINLOCATIONS_H_ 00014 00015 #include <windows.h> 00016 #include <commctrl.h> 00017 #include "celestiacore.h" 00018 00019 class LocationsDialog : public CelestiaWatcher 00020 { 00021 public: 00022 LocationsDialog(HINSTANCE, HWND, CelestiaCore*); 00023 00024 void SetControls(HWND); 00025 void RestoreSettings(HWND); 00026 00027 virtual void notifyChange(CelestiaCore*, int); 00028 00029 public: 00030 CelestiaCore* appCore; 00031 HWND parent; 00032 HWND hwnd; 00033 int initialLocationFlags; 00034 float initialFeatureSize; 00035 }; 00036 00037 #endif // _CELESTIA_WINLOCATIONS_H_ 00038
1.4.1