Skip to content

Commit 5c4217f

Browse files
authored
Update bave to v0.4.6. (#18)
Rename all "Hog" strings to "Spaced".
1 parent 82d3252 commit 5c4217f

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ include(FetchContent)
1111
FetchContent_Declare(
1212
bave
1313
GIT_REPOSITORY https://github.com/karnkaul/bave
14-
GIT_TAG 0a2acfe8ed2de696d71bdf0ccd1f5c14288f26c2 # v0.4.5
14+
GIT_TAG 5002fc271533a3268592c47c5bc8653ae094dc6b # v0.4.6
1515
SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ext/bave"
1616
)
1717

src/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
android:label="@string/app_name"
1111
android:roundIcon="@mipmap/ic_launcher_round"
1212
android:supportsRtl="true"
13-
android:theme="@style/Theme.Hog"
13+
android:theme="@style/Theme.Spaced"
1414
tools:targetApi="31">
1515

1616
<activity android:name="android.app.NativeActivity"

src/android/app/src/main/res/values-night/themes.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<resources xmlns:tools="http://schemas.android.com/tools">
22
<!-- Base application theme. -->
3-
<style name="Theme.Hog" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
3+
<style name="Theme.Spaced" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
44
<!-- Primary brand color. -->
55
<item name="colorPrimary">@color/purple_200</item>
66
<item name="colorPrimaryVariant">@color/purple_700</item>
@@ -13,4 +13,4 @@
1313
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
1414
<!-- Customize your theme here. -->
1515
</style>
16-
</resources>
16+
</resources>

src/android/app/src/main/res/values/themes.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<resources xmlns:tools="http://schemas.android.com/tools">
22
<!-- Base application theme. -->
3-
<style name="Theme.Hog" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
3+
<style name="Theme.Spaced" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
44
<!-- Primary brand color. -->
55
<item name="colorPrimary">@color/purple_500</item>
66
<item name="colorPrimaryVariant">@color/purple_700</item>
@@ -13,4 +13,4 @@
1313
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
1414
<!-- Customize your theme here. -->
1515
</style>
16-
</resources>
16+
</resources>

src/desktop/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void set_log_max_levels() {
4242
auto run(int const argc, char const* const* argv) -> int {
4343
auto create_info = bave::DesktopApp::CreateInfo{
4444
.args = bave::make_args(argc, argv),
45-
.title = "Hog",
45+
.title = "Spaced",
4646
.mode = bave::Windowed{.extent = {1920, 1080}},
4747
.msaa = vk::SampleCountFlagBits::e4,
4848
.assets_patterns = "assets",

src/spaced/spaced/spaced.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Spaced : public bave::Driver {
2727
void set_layout();
2828
void set_scene();
2929

30-
bave::Logger m_log{"Hog"};
30+
bave::Logger m_log{"Spaced"};
3131
Services m_services{};
3232
bave::Ptr<ILayout> m_layout{};
3333
std::unique_ptr<Scene> m_scene{};

0 commit comments

Comments
 (0)