Add Inital Multi-Monitor Support
Initial support for multimonitor setups. Support for up to 6 monitors with 1-6 players on screen 1 and 0-6 players on screen 2-6. Currently the max amount of players is unchanged and participating players are spread across all available screens. Screens are extended horizontally. For fullscreen use with multiple physical monitors one will have to use some kind of surround-configuration. (AMD Eyefinity/nVidia Surround/etc.)
This commit is contained in:
1 parent
e888197cdc
commit
bf5205b080
22 files changed
+7786
-291
No files matched your search
@@ -83,6 +83,7 @@ namespace VocaluxeLib
|
||||
|
||||
int GetNumNoteLines();
|
||||
int GetMaxNumPlayer();
|
||||
int GetMaxNumScreens();
|
||||
|
||||
float GetDefaultMedleyFadeInTime();
|
||||
float GetDefaultMedleyFadeOutTime();
|
||||
@@ -135,17 +136,17 @@ namespace VocaluxeLib
|
||||
public interface IDrawing
|
||||
{
|
||||
void DrawTexture(CTextureRef texture, SRectF rect);
|
||||
void DrawTexture(CTextureRef texture, SRectF rect, SColorF color);
|
||||
void DrawTexture(CTextureRef texture, SRectF rect, SColorF color, SRectF bounds, bool mirrored = false);
|
||||
void DrawTexture(CTextureRef texture, SRectF rect, SColorF color, bool allMonitors = true);
|
||||
void DrawTexture(CTextureRef texture, SRectF rect, SColorF color, SRectF bounds, bool mirrored = false, bool allMonitors = true);
|
||||
void DrawTexture(CTextureRef textureRef, SRectF bounds, EAspect aspect);
|
||||
void DrawTexture(CTextureRef textureRef, SRectF bounds, EAspect aspect, SColorF color);
|
||||
void DrawTextureReflection(CTextureRef texture, SRectF rect, SColorF color, SRectF bounds, float reflectionSpace, float reflectionHeight);
|
||||
void DrawTextureReflection(CTextureRef texture, SRectF rect, SColorF color, SRectF bounds, float reflectionSpace, float reflectionHeight, bool allMonitors = true);
|
||||
|
||||
CTextureRef AddTexture(string fileName);
|
||||
CTextureRef EnqueueTexture(string fileName);
|
||||
void RemoveTexture(ref CTextureRef texture);
|
||||
|
||||
void DrawRect(SColorF color, SRectF rect);
|
||||
void DrawRect(SColorF color, SRectF rect, bool allMonitors = true);
|
||||
void DrawRectReflection(SColorF color, SRectF rect, float space, float height);
|
||||
}
|
||||
|
||||
@@ -174,7 +175,7 @@ namespace VocaluxeLib
|
||||
{
|
||||
RectangleF GetTextBounds(CText text);
|
||||
|
||||
void DrawText(string text, CFont font, float x, float y, float z, SColorF color);
|
||||
void DrawText(string text, CFont font, float x, float y, float z, SColorF color, bool allMonitors = true);
|
||||
void DrawTextReflection(string text, CFont font, float x, float y, float z, SColorF color, float reflectionSpace, float reflectionHeight);
|
||||
void DrawText(string text, CFont font, float x, float y, float z, SColorF color, float begin, float end);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user