Add kYazeVersion constant to common.h and remove duplicate definition from constants.h

This commit is contained in:
scawful
2024-11-10 09:03:11 -05:00
parent 8555dacdb5
commit cd3540aaa2
2 changed files with 2 additions and 12 deletions

View File

@@ -19,6 +19,8 @@ namespace app {
*/
namespace core {
constexpr std::string_view kYazeVersion = "0.2.1";
std::string UppercaseHexByte(uint8_t byte, bool leading = false);
std::string UppercaseHexWord(uint16_t word, bool leading = false);
std::string UppercaseHexLong(uint32_t dword);

View File

@@ -1,8 +1,6 @@
#ifndef YAZE_APP_CORE_CONSTANTS_H
#define YAZE_APP_CORE_CONSTANTS_H
#include <string_view>
#define TAB_BAR(w) if (ImGui::BeginTabBar(w)) {
#define END_TAB_BAR() \
ImGui::EndTabBar(); \
@@ -120,14 +118,4 @@ using ushort = unsigned short;
using uint = unsigned int;
using uchar = unsigned char;
namespace yaze {
namespace app {
namespace core {
constexpr std::string_view kYazeVersion = "0.2.1";
} // namespace core
} // namespace app
} // namespace yaze
#endif