feature/file_browser #61

Merged
Aaron merged 8 commits from feature/file_browser into develop 2026-03-12 19:26:25 +00:00
2 changed files with 203 additions and 169 deletions
Showing only changes of commit ee7dcd107b - Show all commits
+3
View File
@@ -637,6 +637,8 @@ begin
ctx := PFBCollectCtx(ud);
obj := PVFSObject(data);
if (ctx = nil) or (obj = nil) then exit;
{ Always hide '.' and '..' entries }
if stringEquals(key, '.') or stringEquals(key, '..') then exit;
case obj^.ObjectType of
otVDIRECTORY, otDRIVE, otDIRECTORY, otMOUNT, otSYMLINK:
if ctx^.dir_count < ENTRY_MAX then begin
@@ -3075,6 +3077,7 @@ begin
makeToolBtn(toolbar, SYM_DIRECTORY, 32, state, @fb_newfolder_cb);
makeToolBtn(toolbar, SYM_FILE, 32, state, @fb_newfile_cb);
makeToolBtn(toolbar, SYM_EDIT, 32, state, @fb_rename_cb);
makeToolBtn(toolbar, SYM_TRASH, 32, state, @fb_delete_cb);
{ Filter input }
state^.filter_ta := lv_textarea_create(toolbar);
File diff suppressed because it is too large Load Diff