Skip to content

Commit

Permalink
'
Browse files Browse the repository at this point in the history
  • Loading branch information
moebiussurfing committed Nov 5, 2023
1 parent e53ae2c commit 7a1a236
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 2 additions & 0 deletions 2_Example_Models/src/ofApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ void ofApp::refreshGui() {
// Center visible gui panels at the window bottom.
#ifdef SURFING__USE__FILE_BROWSER
if (indexScene == 2) {
//TODO: move to ofxSurfingHelpersLite..
// fix tiny x offset..
auto w = gui.getShape().getWidth();
int o = SURFING__PAD_TO_WINDOW_BORDERS;
o -= SURFING__PAD_OFXGUI_BETWEEN_PANELS / 2;
Expand Down
15 changes: 7 additions & 8 deletions src/ofxSurfingPBR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ void ofxSurfingPBR::buildHelp() {
ofLogNotice("ofxSurfingPBR") << "buildHelp()";

sHelp = "";
//sHelp += "\n";
sHelp += "HELP\n";
sHelp += "ofxSurfingPBR\n";
sHelp += "\n";
Expand All @@ -67,14 +66,14 @@ void ofxSurfingPBR::buildHelp() {
sHelp += "g Gui\n";
sHelp += "G ofxGui\n";
sHelp += "\n";
sHelp += " DRAW:\n";
sHelp += " DRAW\n";
sHelp += "p Plane\n";
sHelp += "s Shadow \n";
sHelp += "c CubeMap\n";
sHelp += "b BgAlt\n";
sHelp += "\n";
}
sHelp += " WINDOW:\n";
sHelp += " WINDOW\n";
if (bKeys) {
sHelp += "f FullScreen\n";
sHelp += "q Squared\n";
Expand All @@ -84,21 +83,21 @@ void ofxSurfingPBR::buildHelp() {

if (bKeys) {
sHelp += "\n";
sHelp += "HELPERS:\n";
sHelp += "HELPERS\n";
sHelp += "\n";
sHelp += " MATERIAL\n RESET:\n";
sHelp += " MATERIAL\n RESET\n";
sHelp += "F1 Full\n";
sHelp += "\n";
sHelp += " MATERIAL\n RANDOM:\n";
sHelp += " MATERIAL\n RANDOM\n";
sHelp += "F2 Full\n";
sHelp += "F3 Settings\n";
sHelp += " COLORS:\n";
sHelp += " COLORS\n";
sHelp += "F4 GlobalNoAlpha\n";
sHelp += "F5 NoAlpha\n";
sHelp += "F6 WithAlpha\n";
sHelp += "F7 OnlyAlphas\n";
sHelp += "\n";
sHelp += " HISTORY:\n";
sHelp += " HISTORY\n";
sHelp += "z Prev\n";
sHelp += "x Next\n";
sHelp += "r Recall\n";
Expand Down

0 comments on commit 7a1a236

Please sign in to comment.