2015-07-22 20:32:54 +02:00
|
|
|
#ifndef INCLUDE_PROCLIB_H
|
|
|
|
#define INCLUDE_PROCLIB_H
|
|
|
|
|
|
|
|
#ifndef INCLUDE_KOLIBRI_H
|
|
|
|
#include "../lib/kolibri.h"
|
|
|
|
#endif
|
|
|
|
|
2022-02-08 10:05:27 +01:00
|
|
|
#ifdef __COFF__
|
|
|
|
extern dword OpenDialog_init;
|
|
|
|
extern dword OpenDialog_start;
|
|
|
|
#else
|
2015-07-22 20:32:54 +02:00
|
|
|
#ifndef INCLUDE_DLL_H
|
|
|
|
#include "../lib/dll.h"
|
|
|
|
#endif
|
2015-03-18 12:59:32 +01:00
|
|
|
dword Proc_lib = #aProc_lib;
|
|
|
|
char aProc_lib[] = "/sys/lib/proc_lib.obj";
|
|
|
|
|
|
|
|
dword OpenDialog_init = #aOpenDialog_init;
|
|
|
|
dword OpenDialog_start = #aOpenDialog_start;
|
|
|
|
|
|
|
|
$DD 2 dup 0
|
|
|
|
|
|
|
|
char aOpenDialog_init[] = "OpenDialog_init";
|
|
|
|
char aOpenDialog_start[] = "OpenDialog_start";
|
2022-02-08 10:05:27 +01:00
|
|
|
#endif
|
2015-03-18 12:59:32 +01:00
|
|
|
|
|
|
|
struct opendialog
|
|
|
|
{
|
2018-09-12 02:05:16 +02:00
|
|
|
dword type; //0-file, 1-save, 2-select folder
|
2015-03-18 12:59:32 +01:00
|
|
|
dword procinfo;
|
|
|
|
dword com_area_name;
|
|
|
|
dword com_area;
|
|
|
|
dword opendir_path;
|
|
|
|
dword dir_default_path;
|
|
|
|
dword start_path;
|
|
|
|
dword draw_window;
|
|
|
|
dword status;
|
2018-04-20 11:43:15 +02:00
|
|
|
dword openfile_path;
|
2015-03-18 12:59:32 +01:00
|
|
|
dword filename_area;
|
|
|
|
dword filter_area;
|
|
|
|
|
2018-04-20 11:43:15 +02:00
|
|
|
word w;
|
|
|
|
word x;
|
|
|
|
word h;
|
|
|
|
word y;
|
2015-03-18 12:59:32 +01:00
|
|
|
};
|
|
|
|
|
2018-04-20 11:43:15 +02:00
|
|
|
char communication_area_name[] = "FFFFFFFF_open_dialog";
|
2021-06-13 16:09:46 +02:00
|
|
|
char open_dialog_path[] = "/sys/File managers/opendial";
|
2018-04-20 11:43:15 +02:00
|
|
|
|
2015-07-22 20:32:54 +02:00
|
|
|
#endif
|