-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Most things are working, except title bar + multi window
- Loading branch information
Kyle Pelham
committed
Aug 15, 2024
1 parent
83e9dde
commit 155e773
Showing
20 changed files
with
37,091 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#pragma once | ||
#include "imgui.h" | ||
|
||
namespace Prism::Colors | ||
{ | ||
constexpr auto accent = IM_COL32(0, 120, 215, 255); // Bright Blue | ||
constexpr auto highlight = IM_COL32(255, 193, 7, 255); // Amber | ||
constexpr auto niceBlue = IM_COL32(52, 152, 219, 255); // Light Sky Blue | ||
constexpr auto compliment = IM_COL32(231, 76, 60, 255); // Soft Red | ||
constexpr auto background = IM_COL32(248, 249, 250, 255); // Light Gray (almost white) | ||
constexpr auto backgroundDark = IM_COL32(36, 37, 38, 255); // Very Dark Gray | ||
constexpr auto titlebar = IM_COL32(44, 62, 80, 255); // Dark Blue-Gray | ||
constexpr auto titlebarBrighter = IM_COL32(52, 73, 94, 255); // Steel Blue | ||
constexpr auto titlebarDarker = IM_COL32(33, 37, 41, 255); // Dark Charcoal | ||
constexpr auto propertyField = IM_COL32(52, 73, 94, 255); // Steel Blue | ||
constexpr auto text = IM_COL32(33, 37, 41, 255); // Dark Charcoal | ||
constexpr auto textBrighter = IM_COL32(255, 255, 255, 255); // White | ||
constexpr auto textDarker = IM_COL32(87, 96, 111, 255); // Dim Gray | ||
constexpr auto textError = IM_COL32(231, 76, 60, 255); // Soft Red (same as compliment for consistency) | ||
constexpr auto button = IM_COL32(52, 52, 52, 200); // Dark Gray | ||
constexpr auto buttonBrighter = IM_COL32(52, 52, 52, 150); // Dark Gray (less opaque) | ||
constexpr auto buttonDarker = IM_COL32(60, 60, 60, 255); // Dark Gray (more opaque) | ||
constexpr auto muted = IM_COL32(189, 195, 199, 255); // Light Gray | ||
constexpr auto groupHeader = IM_COL32(52, 152, 219, 255); // Light Sky Blue (same as niceBlue) | ||
constexpr auto selection = IM_COL32(88, 101, 242, 255); // Indigo | ||
constexpr auto selectionMuted = IM_COL32(107, 115, 125, 255); // Muted Dark Gray | ||
constexpr auto backgroundPopup = IM_COL32(255, 255, 255, 255); // White | ||
|
||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/** | ||
* @file entry_point.h | ||
* @author Kyle Pelham (bonezone2001@gmail.com) | ||
* @brief Just a simple entry point for the Prism application framework. | ||
* | ||
* You can completely ignore this file and implement your own entry point if you wish. | ||
* | ||
* @version 0.1 | ||
* @date 2024-08-09 | ||
* | ||
* @copyright Copyright (c) 2024 | ||
* | ||
*/ | ||
|
||
#pragma once | ||
#include <Windows.h> | ||
#include "prism/prism.h" | ||
|
||
namespace Prism | ||
{ | ||
class Application* AppCreate(int argc, char** argv); | ||
}; | ||
|
||
int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hInstPrev, PSTR cmdline, int cmdshow) | ||
{ | ||
// Create the application | ||
Prism::Application* app = Prism::AppCreate(__argc, __argv); | ||
|
||
// Run the application | ||
app->run(); | ||
|
||
// Clean up | ||
delete app; | ||
return 0; | ||
} |
Oops, something went wrong.