Files
oboe/osx/tools/winutil.h
Celtic Minstrel 3c3ed04ca7 Make the automap actually work
- Except that it's showing just black and white instead of the proper terrain pictures
- Fixed towns not initializing some flags, such as defy_mapping, causing them to be true when they shouldn't be
- Fix Ellipse shapes not being correctly positioned
2014-04-14 21:16:35 -04:00

38 lines
655 B
C++

//
// winutil.h
// BoE
//
// Created by Celtic Minstrel on 14-03-28.
//
//
#ifndef BoE_boe_windows_h
#define BoE_boe_windows_h
#include <SFML/Window.hpp>
#include <boost/filesystem/path.hpp>
namespace fs = boost::filesystem; // TODO: Centralize this alias
bool isFrontWindow(sf::Window& win);
void makeFrontWindow(sf::Window& win);
void setWindowFloating(sf::Window& win, bool floating);
void init_fileio();
fs::path nav_get_party();
fs::path nav_put_party();
fs::path nav_get_scenario();
fs::path nav_put_scenario();
class ModalSession {
void* session;
public:
void pumpEvents();
ModalSession(sf::Window& win);
~ModalSession();
};
#endif