Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
ofxImGui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wt
ofxImGui
Commits
572e3252
Commit
572e3252
authored
Dec 01, 2019
by
w4t
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix format string warnings
parent
1fa52e31
Pipeline
#56
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
imHelpers.cpp
src/imHelpers.cpp
+3
-2
ofxImGuiLoggerChannel.cpp
src/ofxImGuiLoggerChannel.cpp
+1
-1
No files found.
src/imHelpers.cpp
View file @
572e3252
...
...
@@ -452,8 +452,9 @@ bool ofxImGui::AddParameter(ofParameter<void>& parameter)
//--------------------------------------------------------------
bool
ofxImGui
::
AddRadio
(
ofParameter
<
int
>&
parameter
,
std
::
vector
<
std
::
string
>
labels
,
int
columns
)
{
auto
uniqueName
=
GetUniqueName
(
parameter
);
ImGui
::
Text
(
uniqueName
);
//auto uniqueName = GetUniqueName(parameter);
//ImGui::Text(uniqueName);
ImGui
::
Text
(
"%s"
,
parameter
.
getName
().
c_str
());
auto
result
=
false
;
auto
tmpRef
=
parameter
.
get
();
ImGui
::
PushID
(
uniqueName
);
...
...
src/ofxImGuiLoggerChannel.cpp
View file @
572e3252
...
...
@@ -20,7 +20,7 @@ void ofxImGui::LoggerChannel::log( ofLogLevel level, const std::string & module,
}
void
ofxImGui
::
LoggerChannel
::
log
(
ofLogLevel
level
,
const
std
::
string
&
module
,
const
char
*
format
,
va_list
args
){
getBuffer
().
appendf
(
"[%s] %s:
%s
"
,
ofGetLogLevelName
(
level
,
true
).
c_str
(),
module
.
c_str
()
);
getBuffer
().
appendf
(
"[%s] %s: "
,
ofGetLogLevelName
(
level
,
true
).
c_str
(),
module
.
c_str
()
);
getBuffer
().
appendfv
(
format
,
args
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment