/contrib/C_Layer/EXAMPLE/libguic_kolibri/dbutton_files.c |
---|
90,7 → 90,7 |
gui_add_pathview(main_window, kolibri_pathview(&pview, X_Y(10, 50), 330, 1, 0, dlg_opensave->openfile_path, temp_path, 0, 0)); // black font, no background, font 1 |
filebrowser brows; |
filedata = load_file_inmem("/rd/1/File managers/z_icons.png", &read_bytes); |
filedata = load_file_inmem("/sys/File managers/z_icons.png", &read_bytes); |
image_data_rgb = malloc(icon_rgb_size * 20); // we know size |
// îïðåäåëÿåì âèä èçîáðàæåíèÿ è ïåðåâîäèì åãî âî âðåìåííûé áóôåð image_data |
image_data = (*img_decode)(filedata, read_bytes, 0); |
100,13 → 100,13 |
(*img_destroy)(image_data); |
free(filedata); |
filedata = load_file_inmem("/rd/1/File managers/icons.ini", &read_bytes); |
filedata = load_file_inmem("/sys/File managers/icons.ini", &read_bytes); |
gui_add_filebrowser(main_window, kolibri_filebrowser(&brows, X_Y(10, 400), X_Y(80, 300), X_Y(6, 9), X_Y(16, 16), image_data_rgb, NULL, 24, |
filedata, filedata + read_bytes, |
0x00FF00, 0xbbddff, 0x000000, 0xFFFFFF, 0xFF0000)); |
// try devices "/" - good |
brows.folder_data = read_folderdata("/rd/1"); |
brows.folder_data = read_folderdata("/sys"); |
brows.select_panel_counter = 1; // if want to show selection |
do /* Start of main activity loop */ |
/contrib/C_Layer/EXAMPLE/libguic_kolibri/editor_tree_msgbox.c |
---|
80,7 → 80,7 |
// load sample file |
//int res, len; |
//res = editor_openfile(ed, "/rd/1/boardlog.txt", &len); |
//res = editor_openfile(ed, "/sys/boardlog.txt", &len); |
//debug_board_printf("loaded sample file err=%d, len=%d\n", res, len); |
//adding sample text @cursor |
/contrib/C_Layer/INCLUDE/kolibri_colordialog.h |
---|
2,7 → 2,7 |
#define KOLIBRI_COLORIALOG_H |
char cd_com_area_name[] = "FFFFFFFF_color_dialog"; |
char cd_start_path[] = "/rd/1/colrdial"; |
char cd_start_path[] = "/sys/colrdial"; |
typedef struct __attribute__ ((__packed__)) { |
unsigned int type; |
/contrib/C_Layer/INCLUDE/kolibri_filebrowse.h |
---|
208,8 → 208,8 |
inline filebrowser* kolibri_filebrowser_def(filebrowser* fb, uint32_t x_w, uint32_t y_h) |
{ |
// load default icons and icon association |
char icons_ini[] = "/rd/1/File managers/icons.ini"; |
char icons16img[] = "/rd/1/File managers/z_icons.png"; |
char icons_ini[] = "/sys/File managers/icons.ini"; |
char icons16img[] = "/sys/File managers/z_icons.png"; |
return kolibri_filebrowser(fb, x_w, y_h, X_Y(9, 16), X_Y(16, 16), icon_raw_area, icon_palette_raw, icon_res, |
ini_file_start, ini_file_end, |
/contrib/C_Layer/INCLUDE/kolibri_opendialog.h |
---|
2,8 → 2,8 |
#define KOLIBRI_OPENDIALOG_H |
char sz_com_area_name[] = "FFFFFFFF_open_dialog"; |
char sz_dir_default_path[] = "/rd/1"; |
char sz_start_path[] = "/rd/1/File managers/opendial"; |
char sz_dir_default_path[] = "/sys"; |
char sz_start_path[] = "/sys/File managers/opendial"; |
enum open_dialog_mode { |
OPEN, |
/contrib/media/fplay/opendial.asm |
---|
101,12 → 101,12 |
section '.rdata' align 16 |
sz_proc_lib db "/rd/1/lib/proc_lib.obj",0 |
sz_proc_lib db "/sys/lib/proc_lib.obj",0 |
sz_OpenDialog_init db "OpenDialog_init",0 |
sz_OpenDialog_start db "OpenDialog_start",0 |
sz_com_area_name db "FFFFFFFF_open_dialog",0 |
sz_dir_default_path db "/rd/1",0 |
sz_start_path db "/rd/1/File managers/opendial",0 |
sz_dir_default_path db "/sys",0 |
sz_start_path db "/sys/File managers/opendial",0 |
section '.data' align 16 |
/contrib/sdk/fasm/mpg123.asm |
---|
596,12 → 596,12 |
sz_proc_lib db "/rd/1/lib/proc_lib.obj",0 |
sz_proc_lib db "/sys/lib/proc_lib.obj",0 |
sz_OpenDialog_init db "OpenDialog_init",0 |
sz_OpenDialog_start db "OpenDialog_start",0 |
sz_com_area_name db "FFFFFFFF_open_dialog",0 |
sz_dir_default_path db "/rd/1",0 |
sz_start_path db "/rd/1/File managers/opendial",0 |
sz_dir_default_path db "/sys",0 |
sz_start_path db "/sys/File managers/opendial",0 |
msg_print db '%s',0x0D,0x0A,0 |
msg_init_fail db 'Cannot initialize mpg123 library: %s', 0x0D,0x0A,0 |
/contrib/sdk/samples/freetype/txview/main.c |
---|
59,7 → 59,7 |
::"a"(40), "b"(0xc0000027)); |
if(argc < 2) |
uf = load_file("/RD/1/EXAMPLE.ASM"); |
uf = load_file("/SYS/EXAMPLE.ASM"); |
else uf = load_file(argv[1]); |
if(uf.data == NULL || |
/contrib/sdk/sources/SDL-1.2.2/SDL_ttf/test/ttftest.c |
---|
31,8 → 31,8 |
SDL_printf("Couldn't initialize TTF library\n"); |
exit(-1); |
} |
fnt=TTF_OpenFont("/RD/1/INDIGO.TTF",50); |
fnt1=TTF_OpenFont("/RD/1/HYDROGEN.TTF",35); |
fnt=TTF_OpenFont("/SYS/INDIGO.TTF",50); |
fnt1=TTF_OpenFont("/SYS/HYDROGEN.TTF",35); |
TTF_SetFontStyle(fnt,TTF_STYLE_ITALIC|TTF_STYLE_BOLD|TTF_STYLE_UNDERLINE); |
txt=TTF_RenderText_Solid(fnt,"MenuetOS",kolor); |
if(!txt) |
/contrib/sdk/sources/newlib/libc/crt/opendial.S |
---|
98,12 → 98,12 |
section '.rdata' align 16 |
sz_proc_lib db "/rd/1/lib/proc_lib.obj",0 |
sz_proc_lib db "/sys/lib/proc_lib.obj",0 |
sz_OpenDialog_init db "OpenDialog_init",0 |
sz_OpenDialog_start db "OpenDialog_start",0 |
sz_com_area_name db "FFFFFFFF_open_dialog",0 |
sz_dir_default_path db "/rd/1",0 |
sz_start_path db "/rd/1/File managers/opendial",0 |
sz_dir_default_path db "/sys",0 |
sz_start_path db "/sys/File managers/opendial",0 |
section '.data' align 16 |
/contrib/sdk/sources/newlib/libc/sdk/fasm/mpg123.asm |
---|
596,12 → 596,12 |
sz_proc_lib db "/rd/1/lib/proc_lib.obj",0 |
sz_proc_lib db "/sys/lib/proc_lib.obj",0 |
sz_OpenDialog_init db "OpenDialog_init",0 |
sz_OpenDialog_start db "OpenDialog_start",0 |
sz_com_area_name db "FFFFFFFF_open_dialog",0 |
sz_dir_default_path db "/rd/1",0 |
sz_start_path db "/rd/1/File managers/opendial",0 |
sz_dir_default_path db "/sys",0 |
sz_start_path db "/sys/File managers/opendial",0 |
msg_print db '%s',0x0D,0x0A,0 |
msg_init_fail db 'Cannot initialize mpg123 library: %s', 0x0D,0x0A,0 |