Skip to content

Commit

Permalink
Only Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hsm4 committed Jun 28, 2024
1 parent 94d35c1 commit ebaac69
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
16 changes: 8 additions & 8 deletions apps/source/AppDemo.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ class AppDemo
public:
// Major owned instances of the app
static SLInputManager inputManager; //!< Input events manager
static SLAssetManager* assetManager; //!< asset manager
static SLAssetLoader* assetLoader;
static SLScene* scene; //!< scene pointer
static SLVSceneView sceneViews; //!< vector of sceneview pointers
static SLUiInterface* gui; //!< gui pointer
static SLDeviceRotation devRot; //!< Mobile device rotation from IMU
static SLDeviceLocation devLoc; //!< Mobile device location from GPS
static optional<SLSceneID> sceneToLoad;
static SLAssetManager* assetManager; //!< asset manager is the owner of all assets
static SLAssetLoader* assetLoader; //!< responsible for async asset loading
static SLScene* scene; //!< scene pointer
static SLVSceneView sceneViews; //!< vector of sceneview pointers
static SLUiInterface* gui; //!< gui pointer
static SLDeviceRotation devRot; //!< Mobile device rotation from IMU
static SLDeviceLocation devLoc; //!< Mobile device location from GPS
static optional<SLSceneID> sceneToLoad; //!< scene id to load at start up

static void createApp(SLstring appName);
static void registerCoreAssetsLoad();
Expand Down
9 changes: 3 additions & 6 deletions modules/sl/source/SLImGui.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//#############################################################################
// File: gl/SLImGui.cpp
// File: SLImGui.h
// Purpose: Wrapper Class around the external ImGui GUI-framework
// See also: https://github.com/ocornut/imgui
// Date: October 2015
// Date: October 2015, refresh in 2024
// Codestyle: https://github.com/cpvrlab/SLProject/wiki/SLProject-Coding-Style
// Authors: Marcus Hudritsch
// License: This software is provided under the GNU General Public License
Expand Down Expand Up @@ -54,12 +54,9 @@ The full call stack for rendering one frame is:\n
- SLSceneView::onPaint: Main onPaint function of a sceneview
- SLImGui::onInitNewFrame: Initializes a new GUI frame
- ImGui::NewFrame()
- SLImGui::build: The UI build function
- ... normal scene rendering of SLProject
- SLSceneView::draw2DGL:
- ImGui::render
- SLImGui::onPaint(ImGui::GetDrawData())
- AppDemoGui::buildDemoGui: Builds the full UI
- SLImGui::onPaint: Draws the UI with ImGUI
*/

class SLImGui : public SLUiInterface
Expand Down

0 comments on commit ebaac69

Please sign in to comment.