Small launcher progress
This commit is contained in:
parent
1b145a8a96
commit
34dce5eea6
@ -74,7 +74,7 @@
|
||||
.content {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding-top: 100px;
|
||||
padding-top: 30px;
|
||||
}
|
||||
|
||||
div.button {
|
||||
@ -89,6 +89,8 @@
|
||||
padding: 0.5rem;
|
||||
border-radius: 0.5rem;
|
||||
transition: all 0.1s linear;
|
||||
font-size: 1rem;
|
||||
font-weight: normal;
|
||||
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
|
||||
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
|
||||
}
|
||||
@ -97,6 +99,16 @@
|
||||
background-color: rgb(48, 45, 44);
|
||||
border: 1px solid #4a4745;
|
||||
}
|
||||
|
||||
h1,
|
||||
h1 * {
|
||||
font-size: 3rem;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
|
||||
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
|
||||
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
@ -104,6 +116,14 @@
|
||||
<div class="background-container"></div>
|
||||
|
||||
<div class="content">
|
||||
<h1>
|
||||
<span style="color: rgba(244, 240, 235, 0.86)">Call of Duty:</span>
|
||||
<span style="color: #f97316">B</span
|
||||
><span style="color: #ec511c">O</span
|
||||
><span style="color: #e53f21">I</span
|
||||
><span style="color: #e23623">I</span
|
||||
><span style="color: #dc2626">I</span>
|
||||
</h1>
|
||||
<div class="button" onclick="window.external.runGame()">Play</div>
|
||||
<div class="button" onclick="window.external.openUrl('https://boiii.re')">
|
||||
About
|
||||
|
@ -12,7 +12,7 @@ namespace launcher
|
||||
bool run()
|
||||
{
|
||||
bool run_game = false;
|
||||
html_window window("BOIII", 550, 380);
|
||||
html_window window("BOIII", 550, 320);
|
||||
|
||||
window.get_html_frame()->register_callback(
|
||||
"openUrl", [](const std::vector<html_argument>& params) -> CComVariant
|
||||
|
Loading…
Reference in New Issue
Block a user