12b57e84e6
For each link given as http://, verify that the site is accessible over https:// and, if so, switch to it. These domains were converted: * llvm.org * clang.llvm.org * en.cppreference.com * www.dxx-rebirth.com * www.libsdl.org * www.scons.org
53 lines
1.3 KiB
C++
53 lines
1.3 KiB
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 {
|
|
void arch_init();
|
|
}
|
|
#endif
|
|
namespace dcx {
|
|
|
|
class window;
|
|
|
|
template <typename T>
|
|
using window_subfunction = window_event_result (*)(window *menu,const d_event &event, T *userdata);
|
|
|
|
template <typename T>
|
|
using window_subclass_subfunction = window_event_result (*)(T *menu,const d_event &event, void*);
|
|
|
|
class unused_window_userdata_t;
|
|
|
|
/* No declaration for embed_window_pointer_t or ignore_window_pointer_t
|
|
* since every user needs the full definition.
|
|
*/
|
|
|
|
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);
|
|
window *window_set_visible(window &wind, int visible);
|
|
grs_canvas &window_get_canvas(window &wind);
|
|
#if !DXX_USE_OGL
|
|
void window_update_canvases();
|
|
#endif
|
|
int window_is_modal(window &wind);
|
|
|
|
#define WINDOW_SEND_EVENT(w) ((WINDOW_SEND_EVENT)(*w, event, __FILE__, __LINE__))
|
|
|
|
}
|
|
|
|
#endif
|