Skip to content

Move the file system, file icons and thumbnails into the examples - #352

Merged
LogicalError merged 1 commit into
mainfrom
tachyonui/split-controls
Nov 30, 2026
Merged

LogicalError merged 1 commit into
mainfrom
tachyonui/split-controls

Conversation

@LogicalError

Copy link
Copy Markdown
Owner

Part of #350

The first step of splitting gui_controls: code that belongs to one kind of app moves out of the library and into the examples.

What moved

  • IFileSystem and MemoryFileSystem, FileIcons and FileThumbnails moved from src/gui_controls to examples/app_controls.
  • They build as a small static library, tachyon_app_controls, which the showcase links. Code includes them as <app_controls/gui_file_system.h> and so on.
  • Names and namespace are unchanged; only the include paths moved.
  • Their tests moved with them, into a program of their own (app_controls_tests), still part of the normal test run.

For apps

An app that used these classes copies them from examples/app_controls, or uses them as a model for its own. The docs (trees and grids, File views) and the CHANGELOG say so.

What's next for #350

The timeline and viewport go to the examples too, but they need a place to keep their theme parts (styles, icons, colors) outside GUIApplication. That comes with the extension mechanism, so they follow it. Order: drag and drop into gui_core, then the extension mechanism with dialogs as the first extension, then timeline and viewport, then views, node view, docking, color and curves.

Tests

The full suite passes on Windows.

They serve one kind of app, so they leave gui_controls. They now live in
examples/app_controls, a small library the showcase links
(tachyon_app_controls), included as <app_controls/...>. Their tests moved
with them into app_controls_tests.
@LogicalError
LogicalError merged commit 57efd8d into main Nov 30, 2026
9 checks passed
@LogicalError
LogicalError deleted the tachyonui/split-controls branch November 30, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant