Skip to content

Commit

Permalink
gui/textures: some library friendly namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasdr committed Jan 10, 2025
1 parent 341e93e commit ac1a073
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
13 changes: 10 additions & 3 deletions src/agui/gui/textures/GUITexture.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,16 @@
using std::string;
using std::vector;

using agui::math::Math;
using agui::utilities::ByteBuffer;
using agui::utilities::Reference;
// namespaces
namespace agui {
namespace gui {
namespace textures {
using ::agui::math::Math;
using ::agui::utilities::ByteBuffer;
using ::agui::utilities::Reference;
}
}
}

/**
* Texture entity
Expand Down
12 changes: 9 additions & 3 deletions src/agui/gui/textures/GUITextureManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,15 @@
using std::string;
using std::unordered_map;

using agui::gui::textures::GUITexture;
using agui::gui::renderer::Renderer;
using agui::os::threading::Mutex;
// namespaces
namespace agui {
namespace gui {
namespace textures {
using ::agui::gui::renderer::Renderer;
using ::agui::os::threading::Mutex;
}
}
}

/**
* GUITexture manager
Expand Down

0 comments on commit ac1a073

Please sign in to comment.