mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Profile editor - Redesigned adding/removing timeline segments
General module - Added some basic window information to the data model Profiles - Don't render when opacity is 0 Profile editor - Render non-selected layers in their main segment Profile editor - Condition editor fixes
This commit is contained in:
1 parent
732ee2f429
commit
64a1010100
39 files changed
+831
-261
No files matched your search
@@ -47,7 +47,7 @@ namespace Artemis.Core.Services
|
||||
_profileService = profileService;
|
||||
_loggingLevel = settingsService.GetSetting("Core.LoggingLevel", LogEventLevel.Debug);
|
||||
_frameStopWatch = new Stopwatch();
|
||||
|
||||
|
||||
UpdatePluginCache();
|
||||
ConfigureJsonConvert();
|
||||
|
||||
@@ -96,6 +96,12 @@ namespace Artemis.Core.Services
|
||||
OnInitialized();
|
||||
}
|
||||
|
||||
|
||||
public void SetMainWindowHandle(IntPtr handle)
|
||||
{
|
||||
Constants.MainWindowHandle = handle;
|
||||
}
|
||||
|
||||
protected virtual void OnFrameRendering(FrameRenderingEventArgs e)
|
||||
{
|
||||
FrameRendering?.Invoke(this, e);
|
||||
@@ -109,7 +115,7 @@ namespace Artemis.Core.Services
|
||||
private void UpdatePluginCache()
|
||||
{
|
||||
_modules = _pluginService.GetPluginsOfType<Module>().Where(p => p.Enabled).ToList();
|
||||
_dataModelExpansions = _pluginService.GetPluginsOfType<BaseDataModelExpansion>().Where(p => p.Enabled).ToList();
|
||||
_dataModelExpansions = _pluginService.GetPluginsOfType<BaseDataModelExpansion>().Where(p => p.Enabled).ToList();
|
||||
}
|
||||
|
||||
private void ConfigureJsonConvert()
|
||||
|
||||
@@ -50,5 +50,11 @@ namespace Artemis.Core.Services.Interfaces
|
||||
/// Occurs whenever a frame is finished rendering and processed by RGB.NET
|
||||
/// </summary>
|
||||
event EventHandler<FrameRenderedEventArgs> FrameRendered;
|
||||
|
||||
/// <summary>
|
||||
/// To be called by the UI to setup the main window handle
|
||||
/// </summary>
|
||||
/// <param name="handle"></param>
|
||||
void SetMainWindowHandle(IntPtr handle);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user