diff --git a/VS19_Solution/DualSenseWindows/include/DualSenseWindows/Helpers.h b/VS19_Solution/DualSenseWindows/include/DualSenseWindows/Helpers.h index 85001c8..f62ace5 100644 --- a/VS19_Solution/DualSenseWindows/include/DualSenseWindows/Helpers.h +++ b/VS19_Solution/DualSenseWindows/include/DualSenseWindows/Helpers.h @@ -1,11 +1,11 @@ /* - Helpers.h is part of DualSenseWindows - https://github.com/Ohjurot/DualSense-Windows + Helpers.h is part of DualSenseWindows + https://github.com/Ohjurot/DualSense-Windows - Contributors of this file: - 11.2020 Ludwig Füchsl + Contributors of this file: + 11.2020 Ludwig Füchsl - Licensed under the MIT License (To be found in repository root directory) + Licensed under the MIT License (To be found in repository root directory) */ #pragma once @@ -13,42 +13,42 @@ #include namespace DS5W { - /// - /// Convert from 3-Color RGB normalized float to DS5W::Color - /// - /// Red channel - /// Green channel - /// Blue channel - /// DS5W::Color - DS5W_API DS5W::Color color_R32G32B32_FLOAT(float r, float g, float b); - - /// - /// Convert from 4-Color RGBA normalized float to DS5W::Color - /// - /// Red channel - /// Green channel - /// Blue channel - /// Alpha channel - /// DS5W::Color - DS5W_API DS5W::Color color_R32G32B32A32_FLOAT(float r, float g, float b, float a); + /// + /// Convert from 3-Color RGB normalized float to DS5W::Color + /// + /// Red channel + /// Green channel + /// Blue channel + /// DS5W::Color + DS5W_API Color color_R32G32B32_FLOAT(float r, float g, float b); - /// - /// Convert from 4-Color RGBA byte / UChar to DS5W::Color - /// - /// Red channel - /// Green channel - /// Blue channel - /// Alpha channel - /// DS5W::Color - DS5W_API DS5W::Color color_R8G8B8A8_UCHAR(unsigned char r, unsigned char g, unsigned char b, unsigned char a); + /// + /// Convert from 4-Color RGBA normalized float to DS5W::Color + /// + /// Red channel + /// Green channel + /// Blue channel + /// Alpha channel + /// DS5W::Color + DS5W_API Color color_R32G32B32A32_FLOAT(float r, float g, float b, float a); - /// - /// Convert from 4-Color RGB byte / UChar to DS5W::Color while using a normalized float for alpha chanel - /// - /// Red channel - /// Green channel - /// Blue channel - /// Alpha channel - /// DS5W::Color - DS5W_API DS5W::Color color_R8G8B8_UCHAR_A32_FLOAT(unsigned char r, unsigned char g, unsigned char b, float a); + /// + /// Convert from 4-Color RGBA byte / UChar to DS5W::Color + /// + /// Red channel + /// Green channel + /// Blue channel + /// Alpha channel + /// DS5W::Color + DS5W_API Color color_R8G8B8A8_UCHAR(unsigned char r, unsigned char g, unsigned char b, unsigned char a); + + /// + /// Convert from 3-Color RGB byte / UChar to DS5W::Color while using a normalized float for alpha channel + /// + /// Red channel + /// Green channel + /// Blue channel + /// Alpha channel + /// DS5W::Color + DS5W_API Color color_R8G8B8_UCHAR_A32_FLOAT(unsigned char r, unsigned char g, unsigned char b, float a); }