Skip to content

Commit

Permalink
Merge pull request #543 from mruegenberg/patch-3
Browse files Browse the repository at this point in the history
Update ofSystemUtils_functions.markdown
  • Loading branch information
arturoc committed Jul 16, 2016
2 parents 54d0f1d + 5815bb6 commit 0d73468
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion documentation/utils/ofSystemUtils_functions.markdown
Expand Up @@ -77,7 +77,15 @@ _inlined_description: _

_description: _

~~~~{.cpp}
ofFileDialogResult result = ofSystemLoadDialog("Load file");
if(result.bSuccess) {
string path = result.getPath();
// load your file at `path`
}
~~~~

See also: [ofFileDialogResult](ofFileDialogResult).



Expand Down Expand Up @@ -112,8 +120,15 @@ _inlined_description: _

_description: _

~~~~{.cpp}
ofFileDialogResult result = ofSystemSaveDialog("default.jpg", "Save");
if(result.bSuccess) {
string path = result.getPath();
// save your file to `path`
}
~~~~


See also: [ofFileDialogResult](ofFileDialogResult).



Expand Down

0 comments on commit 0d73468

Please sign in to comment.