Rework tracing system and enum creators
- Rework tracing system, now using "{}" for formatting instead of the
standard %s,%d,%f formatting that C++ uses.
- Rework enums creators to not take in namespace
- Fix single use CommandBuffers sometimes failing due to indexing them
with the current frame in flight
- Add DropEvent to Window
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#include "copium/event/DropEvent.h"
|
||||
|
||||
namespace Copium
|
||||
{
|
||||
DropEvent::DropEvent(const std::vector<std::string>& filePaths)
|
||||
: Event{EventType::Drop},
|
||||
filePaths{filePaths}
|
||||
{
|
||||
}
|
||||
|
||||
const std::vector<std::string>& DropEvent::GetFilePaths() const
|
||||
{
|
||||
return filePaths;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user