-
Notifications
You must be signed in to change notification settings - Fork 0
/
main_frame.h
47 lines (36 loc) · 2 KB
/
main_frame.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/////////////////////////////////////////////////////////////////////////////////////
// //
// _ __ _ //
// _ __ ___ __ _ (_) _ __ / _| _ __ __ _ _ __ ___ ___ | |__ //
// | '_ ` _ \ / _` || || '_ \ | |_ | '__|/ _` || '_ ` _ \ / _ \ | '_ \ //
// | | | | | || (_| || || | | | | _|| | | (_| || | | | | || __/ _ | | | | //
// |_| |_| |_| \__,_||_||_| |_|_____|_| |_| \__,_||_| |_| |_| \___|(_)|_| |_| //
// |_____| //
// //
/////////////////////////////////////////////////////////////////////////////////////
// //
// Copyright (c) 2020 by S.F.T. Inc. - All rights reserved //
// Use, copying, and distribution of this software are licensed according //
// to the GPLv2, LGPLv2, or BSD license, as appropriate (see COPYING) //
// //
/////////////////////////////////////////////////////////////////////////////////////
#ifndef _MAIN_FRAME_H_INCLUDED_
#define _MAIN_FRAME_H_INCLUDED_
// headers needed to avoid errors
#include "window_helper.h"
#include "frame_window.h"
#include "edit_window.h"
#ifdef __cplusplus
extern "C"
{
#endif // __cplusplus
extern const char szAppMenu[];
extern const char szEditMenu[];
void get_min_window_height_width(int *piMinHeight, int *piMinWidth);
WBFrameWindow *DoCreateMainFrameWindow(const char *szTitle, int idIcon,
const char *pszMenu, unsigned long ulFlags);
WBEditWindow * DoCreateEditChildFrame(WBFrameWindow *pFrame);
#ifdef __cplusplus
}
#endif // __cplusplus
#endif // _MAIN_FRAME_H_INCLUDED_