R: changes name convention on objective elements

This commit is contained in:
2026-04-06 15:02:20 +03:00
parent 707087b8fe
commit 2414abbdcb
59 changed files with 643 additions and 638 deletions
+11 -10
View File
@@ -1,14 +1,15 @@
/* SPDX-License-Identifier: MIT */
/* Copyright (c) 2026 Oleksandr Zhylin */
#ifndef FILE_LIST_H
#define FILE_LIST_H
#ifndef W_FILE_LIST_H
#define W_FILE_LIST_H
#include <bstrlib.h>
#include <stdint.h>
#include <widget_core.h>
typedef struct {
widget_t w;
w_t w;
fl_item_t **current;
fl_item_t **start;
int32_t current_idx;
@@ -21,12 +22,12 @@ typedef struct {
bstring search_key;
bool activate_last;
bool active_search;
} ui_file_list_t;
} w_ui_file_list_t;
void w_fl_draw(w_ui_file_list_t *fl_ui);
w_ui_file_list_t *w_fl_init(WINDOW **win, WINDOW *const *info_win);
void w_fl_cb(w_cb_args_t *args);
void w_fl_rest(w_ui_file_list_t *fl_ui);
void w_fl_destroy(w_ui_file_list_t **fui);
void draw_file_list(ui_file_list_t *fl_ui);
void redraw_file_list(ui_file_list_t *fl_ui);
ui_file_list_t *init_file_list(WINDOW **win, WINDOW *const *info_win);
void file_list_cb(callback_args_t *args);
void reset_file_list(ui_file_list_t *fl_ui);
void delete_file_list(ui_file_list_t **fui);
#endif