Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
braunms committed Feb 16, 2021
2 parents 3b9d651 + 1830ce6 commit c89fbc3
Show file tree
Hide file tree
Showing 25 changed files with 527 additions and 384 deletions.
2 changes: 1 addition & 1 deletion core/src/view/light/DistantLight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ DistantLight::DistantLight(void)
lightsource = std::make_shared<DistantLightType>();

this->angularDiameter << new core::param::FloatParam(0.0f);
this->direction << new core::param::Vector3fParam(vislib::math::Vector<float, 3>(0.0f, -1.0f, 0.0f));
this->direction << new core::param::Vector3fParam(vislib::math::Vector<float, 3>(-0.25f, -0.5f, -0.75f));
this->eye_direction << new core::param::BoolParam(0);
this->MakeSlotAvailable(&this->direction);
this->MakeSlotAvailable(&this->angularDiameter);
Expand Down
4 changes: 2 additions & 2 deletions externals/CMakeExternals.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@ function(require_external NAME)
external_get_property(imgui INSTALL_DIR)

add_external_project(imguizmoquat STATIC
GIT_REPOSITORY https://github.com/BrutPitt/imGuIZMO.quat.git
GIT_TAG "v3.0"
GIT_REPOSITORY https://github.com/braunms/imGuIZMO.quat.git
GIT_TAG "v3.0a"
BUILD_BYPRODUCTS "<INSTALL_DIR>/${IMGUIZMOQUAT_LIB}"
DEPENDS imgui
CMAKE_ARGS
Expand Down
9 changes: 0 additions & 9 deletions plugins/gui/src/Configurator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,6 @@
* Alle Rechte vorbehalten.
*/

/**
* USED HOTKEYS:
*
* - Search Module: Ctrl + Shift + m
* - Search Parameter: Ctrl + Shift + p
* - Save Edited Project: Ctrl + Shift + s
* - Delete Graph Item: Delete
*/

#include "stdafx.h"
#include "Configurator.h"

Expand Down
37 changes: 29 additions & 8 deletions plugins/gui/src/GUIUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,27 @@
#define MEGAMOL_GUI_GUIUTILS_INCLUDED


/**
* USED HOTKEYS:
*
* ----- GUIWindows -----
* - Trigger Screenshot: F2
* - Toggle Graph Entry: F3
* - Show/hide Windows: F7-F11
* - Show/hide Menu: F12
* - Show/hide GUI: Ctrl + g
* - Search Parameter: Ctrl + p
* - Save Running Project: Ctrl + s
* - Quit Program: Alt + F4
* ----- Configurator -----
* - Search Module: Ctrl + Shift + m
* - Search Parameter: Ctrl + Shift + p
* - Save Edited Project: Ctrl + Shift + s
* - Delete Graph Item: Delete
*
**/

#define IMGUI_DEFINE_MATH_OPERATORS
#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS
#include "imgui.h"
Expand Down Expand Up @@ -229,14 +250,14 @@ namespace gui {
ImGuiID group_hovered_uid; // in out
bool group_layout; // out

UIDVector_t modules_selected_uids; // in out
ImGuiID module_hovered_uid; // in out
UIDPairVector_t modules_add_group_uids; // out
UIDVector_t modules_remove_group_uids; // out
bool modules_layout; // out
StrPairVector_t module_rename; // out
vislib::math::Ternary module_mainview_changed; // out
ImVec2 module_param_child_position; // out
UIDVector_t modules_selected_uids; // in out
ImGuiID module_hovered_uid; // in out
UIDPairVector_t modules_add_group_uids; // out
UIDVector_t modules_remove_group_uids; // out
bool modules_layout; // out
StrPairVector_t module_rename; // out
vislib::math::Ternary module_graphentry_changed; // out
ImVec2 module_param_child_position; // out

ImGuiID call_selected_uid; // in out
ImGuiID call_hovered_uid; // in out
Expand Down
Loading

0 comments on commit c89fbc3

Please sign in to comment.