39 lines
953 B
C++
39 lines
953 B
C++
// winlocations.h
|
|
//
|
|
// Copyright (C) 2003, Chris Laurel <claurel@shatters.net>
|
|
//
|
|
// Miscellaneous utilities for Locations UI implementation.
|
|
//
|
|
// 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.
|
|
|
|
#ifndef _CELESTIA_WINLOCATIONS_H_
|
|
#define _CELESTIA_WINLOCATIONS_H_
|
|
|
|
#include <windows.h>
|
|
#include <commctrl.h>
|
|
#include "celestia/celestiacore.h"
|
|
|
|
class LocationsDialog : public Watcher<CelestiaCore>
|
|
{
|
|
public:
|
|
LocationsDialog(HINSTANCE, HWND, CelestiaCore*);
|
|
|
|
void SetControls(HWND);
|
|
void RestoreSettings(HWND);
|
|
|
|
void notifyChange(CelestiaCore*, int) override;
|
|
|
|
public:
|
|
CelestiaCore* appCore;
|
|
HWND parent;
|
|
HWND hwnd;
|
|
uint64_t initialLocationFlags;
|
|
float initialFeatureSize;
|
|
};
|
|
|
|
#endif // _CELESTIA_WINLOCATIONS_H_
|
|
|