R: changes name convention on objective elements
This commit is contained in:
+11
-10
@@ -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
|
||||
Reference in New Issue
Block a user