Skip to content

Commit

Permalink
Changing basic parameter toward duration instead of number of steps
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinGuillaume committed May 27, 2024
1 parent 40a06d0 commit 27e53a5
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
Binary file modified lib/tool/tools/mdprep/include/tools/mdprep/ui/advanced_form.hpp
Binary file not shown.
Binary file modified lib/tool/tools/mdprep/include/tools/mdprep/ui/basic_form.hpp
Binary file not shown.
Binary file modified lib/tool/tools/mdprep/include/tools/mdprep/ui/form_data.hpp
Binary file not shown.
Binary file modified lib/tool/tools/mdprep/src/ui/advanced_form.cpp
Binary file not shown.
Binary file modified lib/tool/tools/mdprep/src/ui/basic_form.cpp
Binary file not shown.
18 changes: 18 additions & 0 deletions lib/tool/tools/mdprep/src/ui/form_data.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#include "tools/mdprep/ui/form_data.hpp"

namespace VTX::Tool::Mdprep::ui
{
const char * string( const E_MD_DURATION_UNIT & p_ ) noexcept
{
switch ( p_ )
{
case E_MD_DURATION_UNIT::femtoSeconds: return "fs";
case E_MD_DURATION_UNIT::picoSeconds: return "ps";
case E_MD_DURATION_UNIT::nanoSeconds: return "ns";
case E_MD_DURATION_UNIT::microSeconds: return "\xc2\xb5s";

default: return "DEBUG";
}
}

} // namespace VTX::Tool::Mdprep::ui

0 comments on commit 27e53a5

Please sign in to comment.