Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User/tvandewalle/wol changes #10

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

vdwtanner
Copy link
Collaborator

  • Address feedback from User/tvandewalle/themes #9
  • Warning message on status bar (used for Theme editing error messaging rather than obnoxious popups)
  • Plugins can now specify DLLs to load from their plugin folder (system dlls should be loaded from within the plugin itself for now)
  • Plugins now can request to be notified when the user stops typing (called during ConfirmEdits() )
  • ConfirmEdits() now only called when typing characters specified in g_keyOutput. This prevents annoying warnings when deleting text

vdwtanner added 12 commits June 5, 2023 10:58
This is basically a shortcut to open a *.cmt file in the
%APPDATA%/ColumnMode/Themes folder.
Some weirdness required due to dxcompiler.dll being a load time
dependency of a plugin, but dxcompiler.dll does a check in dllmain
to see if dxil.dll is loadable. It isn't in the default search path,
so it silently decides to not load dxil.dll at runtime.

FML.jpg

Hacky solution is to load the plugin, get the dependency list, Free the
plugin (which also frees dxcompiler.dll), THEN load the runtime
dependency list, then RELOAD the plugin (which in turn loads its Load
time dependencies, namely dxcompiler,dll). Now everyone is happy :)
Hopefully no future plugin requires opposite behavior...
@vdwtanner vdwtanner requested a review from clandrew June 13, 2023 00:24
@vdwtanner
Copy link
Collaborator Author

Link to the HLSL shader toy plugin: https://github.com/vdwtanner/ColumnMode-HlslShaderToy

Should probably add a README with basic build instructions, but basically create a build subdirectory and then do cmake ../CMakeLists.txt -A x64 to get the sln

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