-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from GrafVonTee/develop
Huge update
- Loading branch information
Showing
30 changed files
with
2,557 additions
and
620 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,44 @@ | ||
#ifndef TRIANGLE_INTERSECTIONS_CONSTANTSFORDRAWING_H | ||
#define TRIANGLE_INTERSECTIONS_CONSTANTSFORDRAWING_H | ||
|
||
#include <string> | ||
#include "imgui.h" | ||
|
||
namespace DrawConst { | ||
|
||
struct ColorParameters { | ||
float Hue; | ||
float Saturation; | ||
float Value; | ||
}; | ||
|
||
extern const ColorParameters HSV_GREEN_DEFAULT; | ||
extern const ColorParameters HSV_GREEN_HOVERED; | ||
extern const ColorParameters HSV_GREEN_ACTIVE; | ||
|
||
extern const ColorParameters HSV_RED_DEFAULT; | ||
extern const ColorParameters HSV_RED_HOVERED; | ||
extern const ColorParameters HSV_RED_ACTIVE; | ||
|
||
extern const float LETTER_FONT_SIZE; | ||
extern const float LINE_THICKNESS; | ||
extern const float INTERSECTION_POINT_SIZE; | ||
extern const float POINT_SIZE; | ||
|
||
extern const int WINDOW_WIDTH; | ||
extern const int WINDOWS_HEIGHT; | ||
extern const int DISPLAY_SIZE; | ||
extern const int DISPLAY_SCALE; | ||
|
||
extern const float WINDOW_WIDTH; | ||
extern const float WINDOWS_HEIGHT; | ||
extern const float DISPLAY_SIZE; | ||
extern const float DISPLAY_SCALE; | ||
extern const float SQUARE_SIDE_SIZE; | ||
extern const float INDENT_SIZE; | ||
} | ||
extern constinit int BUFFER_SIZE; | ||
|
||
#endif //TRIANGLE_INTERSECTIONS_CONSTANTSFORDRAWING_H | ||
extern const ImU32& RED_COLOR; | ||
extern const ImU32& GREEN_COLOR; | ||
extern const ImU32& YELLOW_COLOR; | ||
extern const ImU32& WHITE_COLOR; | ||
|
||
extern const std::string HEX_AND_HEX_DEMO_INPUT; | ||
extern const std::string TRIANGLE_AND_TRIANGLE_DEMO_INPUT; | ||
} | ||
#endif //TRIANGLE_INTERSECTIONS_CONSTANTSFORDRAWING_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.