summaryrefslogtreecommitdiff
path: root/Userland/Demos/CatDog/CatDog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Demos/CatDog/CatDog.cpp')
-rw-r--r--Userland/Demos/CatDog/CatDog.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/Userland/Demos/CatDog/CatDog.cpp b/Userland/Demos/CatDog/CatDog.cpp
index 8f8bc9a9d4..598a9db5c0 100644
--- a/Userland/Demos/CatDog/CatDog.cpp
+++ b/Userland/Demos/CatDog/CatDog.cpp
@@ -22,30 +22,30 @@ ErrorOr<NonnullRefPtr<CatDog>> CatDog::create()
// So items with the more bits should be placed before items with less bits to
// ensure correct matching order. This also means that "Frame2" has to be first.
static constexpr Array<ImageSource, 24> const image_sources = {
- ImageSource { State::Up | State::Right | State::Frame2, "/res/icons/catdog/nerun2.png"sv },
- { State::Up | State::Right, "/res/icons/catdog/nerun1.png"sv },
- { State::Up | State::Left | State::Frame2, "/res/icons/catdog/nwrun2.png"sv },
- { State::Up | State::Left, "/res/icons/catdog/nwrun1.png"sv },
- { State::Down | State::Right | State::Frame2, "/res/icons/catdog/serun2.png"sv },
- { State::Down | State::Right, "/res/icons/catdog/serun1.png"sv },
- { State::Down | State::Left | State::Frame2, "/res/icons/catdog/swrun2.png"sv },
- { State::Down | State::Left, "/res/icons/catdog/swrun1.png"sv },
- { State::Up | State::Frame2, "/res/icons/catdog/nrun2.png"sv },
- { State::Up, "/res/icons/catdog/nrun1.png"sv },
- { State::Down | State::Frame2, "/res/icons/catdog/srun2.png"sv },
- { State::Down, "/res/icons/catdog/srun1.png"sv },
- { State::Left | State::Frame2, "/res/icons/catdog/wrun2.png"sv },
- { State::Left, "/res/icons/catdog/wrun1.png"sv },
- { State::Right | State::Frame2, "/res/icons/catdog/erun2.png"sv },
- { State::Right, "/res/icons/catdog/erun1.png"sv },
- { State::Sleeping | State::Frame2, "/res/icons/catdog/sleep2.png"sv },
- { State::Sleeping, "/res/icons/catdog/sleep1.png"sv },
- { State::Idle | State::Artist, "/res/icons/catdog/artist.png"sv },
- { State::Idle | State::Inspector, "/res/icons/catdog/inspector.png"sv },
- { State::Idle, "/res/icons/catdog/still.png"sv },
- { State::Alert | State::Artist, "/res/icons/catdog/artist.png"sv },
- { State::Alert | State::Inspector, "/res/icons/catdog/inspector.png"sv },
- { State::Alert, "/res/icons/catdog/alert.png"sv }
+ ImageSource { State::Up | State::Right | State::Frame2, "/res/graphics/catdog/nerun2.png"sv },
+ { State::Up | State::Right, "/res/graphics/catdog/nerun1.png"sv },
+ { State::Up | State::Left | State::Frame2, "/res/graphics/catdog/nwrun2.png"sv },
+ { State::Up | State::Left, "/res/graphics/catdog/nwrun1.png"sv },
+ { State::Down | State::Right | State::Frame2, "/res/graphics/catdog/serun2.png"sv },
+ { State::Down | State::Right, "/res/graphics/catdog/serun1.png"sv },
+ { State::Down | State::Left | State::Frame2, "/res/graphics/catdog/swrun2.png"sv },
+ { State::Down | State::Left, "/res/graphics/catdog/swrun1.png"sv },
+ { State::Up | State::Frame2, "/res/graphics/catdog/nrun2.png"sv },
+ { State::Up, "/res/graphics/catdog/nrun1.png"sv },
+ { State::Down | State::Frame2, "/res/graphics/catdog/srun2.png"sv },
+ { State::Down, "/res/graphics/catdog/srun1.png"sv },
+ { State::Left | State::Frame2, "/res/graphics/catdog/wrun2.png"sv },
+ { State::Left, "/res/graphics/catdog/wrun1.png"sv },
+ { State::Right | State::Frame2, "/res/graphics/catdog/erun2.png"sv },
+ { State::Right, "/res/graphics/catdog/erun1.png"sv },
+ { State::Sleeping | State::Frame2, "/res/graphics/catdog/sleep2.png"sv },
+ { State::Sleeping, "/res/graphics/catdog/sleep1.png"sv },
+ { State::Idle | State::Artist, "/res/graphics/catdog/artist.png"sv },
+ { State::Idle | State::Inspector, "/res/graphics/catdog/inspector.png"sv },
+ { State::Idle, "/res/graphics/catdog/still.png"sv },
+ { State::Alert | State::Artist, "/res/graphics/catdog/artist.png"sv },
+ { State::Alert | State::Inspector, "/res/graphics/catdog/inspector.png"sv },
+ { State::Alert, "/res/graphics/catdog/alert.png"sv }
};
auto catdog = TRY(adopt_nonnull_ref_or_enomem(new (nothrow) CatDog));