changes file structure

This commit is contained in:
2026-07-29 18:40:04 +03:00
parent 62626aaea9
commit 92115c0dd4
52 changed files with 423 additions and 366 deletions
+9 -7
View File
@@ -2,13 +2,13 @@ add_library(modals STATIC)
file(GLOB M_SOURCES "*.c")
target_link_directories(modals
PRIVATE
"../widget/"
"../widget_core/"
"../lib/"
"../utils/"
)
# target_link_directories(modals
# PRIVATE
# "../widget/"
# "../widget_core/"
# "../lib/"
# "../utils/"
# )
target_link_libraries(modals
PRIVATE
@@ -16,6 +16,8 @@ target_link_libraries(modals
widget_core
bstring
utils
common
windows
)
target_sources(modals
+2 -1
View File
@@ -4,7 +4,8 @@
#include <ncursesw/ncurses.h>
#include <widget.h>
#include <widget_core.h>
#include "../connection.h"
#include <core/connection.h>
#include <core/app.h>
#include "group.h"
typedef struct {
+6 -6
View File
@@ -1,15 +1,15 @@
#include "../server.h"
#include "../windows/file_list.h"
#include "alert.h"
#include "dialogue.h"
#include "group.h"
#include "utils.h"
#include <core/server.h>
#include <windows/file_list.h>
#include <ncursesw/ncurses.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <widget.h>
#include "alert.h"
#include "dialogue.h"
#include "group.h"
void dwn_pr_modal_cb(w_cb_args_t *args) {
/* only cancel action */
int32_t key = *((int32_t *)args->data);
+2 -1
View File
@@ -6,7 +6,8 @@
#include <unistd.h>
#include <widget.h>
#include "../server.h"
#include <core/server.h>
#include <core/app.h>
typedef struct {
w_button_t *element;
+2 -1
View File
@@ -6,7 +6,8 @@
#include <unistd.h>
#include <widget.h>
#include "../server.h"
#include <core/app.h>
#include <core/server.h>
typedef struct {
w_button_t *element;
+1 -1
View File
@@ -8,7 +8,7 @@
#include "alert.h"
#include "group.h"
#include "../server.h"
#include <core/server.h>
typedef struct {
w_button_t *element;
+5 -6
View File
@@ -1,15 +1,14 @@
#include "checkbox.h"
#include "group.h"
#include "widget_core.h"
#include <ncursesw/ncurses.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <utils.h>
#include <widget.h>
#include "../server.h"
#include <core/server.h>
#include "checkbox.h"
#include "group.h"
void upload_props_dialogue_modal_cb(w_cb_args_t *args) {
w_cb_args_t d_args;