Skip to content

Commit

Permalink
Merge pull request #208 from naivisoftware/sequencer_resizable_trackh…
Browse files Browse the repository at this point in the history
…eights

Sequencer update
  • Loading branch information
cklosters authored Jul 22, 2022
2 parents 026a993 + 2972849 commit 52091e6
Show file tree
Hide file tree
Showing 68 changed files with 11,173 additions and 9,817 deletions.
Binary file added modules/napimgui/data/subtract.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion modules/napimgui/src/imguiservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ namespace nap
icon::edit,
icon::remove,
icon::add,
icon::change
icon::change,
icon::subtract
};
return map;
}
Expand Down
1 change: 1 addition & 0 deletions modules/napimgui/src/imguiservice.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ namespace nap
inline constexpr const char* remove = "remove.png";
inline constexpr const char* add = "add.png";
inline constexpr const char* change = "change.png";
inline constexpr const char* subtract = "subtract.png";
}


Expand Down
6 changes: 3 additions & 3 deletions modules/napsequence/src/sequence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#include "sequence.h"

RTTI_BEGIN_CLASS(nap::Sequence)
RTTI_PROPERTY("Sequence Tracks", &nap::Sequence::mTracks, nap::rtti::EPropertyMetaData::Embedded)
RTTI_PROPERTY("Sequence Markers", &nap::Sequence::mMarkers, nap::rtti::EPropertyMetaData::Embedded)
RTTI_PROPERTY("Duration", &nap::Sequence::mDuration, nap::rtti::EPropertyMetaData::Default)
RTTI_PROPERTY("Sequence Tracks", &nap::Sequence::mTracks, nap::rtti::EPropertyMetaData::Embedded)
RTTI_PROPERTY("Sequence Markers", &nap::Sequence::mMarkers, nap::rtti::EPropertyMetaData::Embedded)
RTTI_PROPERTY("Duration", &nap::Sequence::mDuration, nap::rtti::EPropertyMetaData::Default)
RTTI_END_CLASS

//////////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion modules/napsequence/src/sequence.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace nap
*/
class NAPAPI Sequence : public Resource
{
RTTI_ENABLE(Resource)
RTTI_ENABLE(Resource)
public:
std::vector<ResourcePtr<SequenceTrack>> mTracks; ///< Property: 'Sequence Tracks' Vector holding resourceptrs to the SequenceTracks
std::vector<ResourcePtr<SequenceMarker>> mMarkers; ///< Property: 'Sequence Markers' Vector holding resourceptrs to the SequenceMarkers
Expand Down
Loading

0 comments on commit 52091e6

Please sign in to comment.