dxx-rebirth/common/include/fwd-window.h
Kp ae4b3b4c87 Make window_send_event a method of window
Switch from using a macro to capture __FILE__,__LINE__ to using
__builtin_FILE(),__builtin_LINE().  Make the event an explicit argument,
instead of assuming it is a variable named `event`.  Move the
implementation out of line.
2022-12-18 23:10:39 +00:00

43 lines
763 B
C++

/*
* This file is part of the DXX-Rebirth project <https://www.dxx-rebirth.com/>.
* It is copyright by its individual contributors, as recorded in the
* project's Git history. See COPYING.txt at the top level for license
* terms and a link to the Git history.
*/
#pragma once
#ifdef __cplusplus
#include "fwd-event.h"
#include "fwd-gr.h"
#ifdef dsx
namespace dsx {
struct arch_atexit
{
~arch_atexit();
};
[[nodiscard]]
arch_atexit arch_init();
}
#endif
namespace dcx {
class window;
int window_close(window *wind);
window *window_get_front();
window *window_get_first();
window *window_get_next(window &wind);
window *window_get_prev(window &wind);
void window_select(window &wind);
#if !DXX_USE_OGL
void window_update_canvases();
#endif
}
#endif