Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
- Updated `gyroflow_core`.
- Updated Error Images.
- Re-organised Inspector structure.
- Added "Open User Guide" button.
- Added "Export Gyroflow Project" button - currently not working.
- Added "Stabilisation Overview" checkbox - currently not working.
  • Loading branch information
latenitefilms committed Jul 14, 2023
1 parent 54b5608 commit bbc7980
Show file tree
Hide file tree
Showing 8 changed files with 757 additions and 447 deletions.
2 changes: 1 addition & 1 deletion Source/Frameworks/gyroflow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ argh = "*"
serde = "1.0"
serde_json = "1.0"
libc = "0.2"
gyroflow-core = { git = "https://github.com/gyroflow/gyroflow.git", default-features = false, rev = "b8d6d96", features = ["bundle-lens-profiles"] }
gyroflow-core = { git = "https://github.com/gyroflow/gyroflow.git", default-features = false, rev = "af4c575", features = ["bundle-lens-profiles"] }
log = "0.4.17"
oslog = "0.2.0"
lazy_static = "1.4.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "GyroflowCoreRenderError.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
91 changes: 62 additions & 29 deletions Source/Gyroflow/Plugin/GyroflowConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,46 +12,79 @@
// Plugin Parameter Constants:
//---------------------------------------------------------
enum {
kCB_Header = 1,
/*
<publishSettings>
<version>2</version>
<target object="10036" channel="./1" name=""/>
<target object="10036" channel="./3" name=""/>
<target object="10036" channel="./5" name="Import"/>
<target object="10036" channel="./90" name="Gyroflow Parameters"/>
<target object="10036" channel="./300" name="Tools"/>
<target object="10036" channel="./400" name="File Management"/>
</publishSettings>
*/

kCB_DropZone = 10,

kCB_LaunchGyroflow = 20,
kCB_LoadLastGyroflowProject = 25,
kCB_ImportGyroflowProject = 30,
kCB_ImportMediaFile = 35,
kCB_LoadedGyroflowProject = 40,
kCB_ReloadGyroflowProject = 50,
//---------------------------------------------------------
// Top Section:
//---------------------------------------------------------
kCB_TopSection = 1,
kCB_Header = 2,
kCB_OpenUserGuide = 3,

kCB_LoadPresetLensProfile = 52,
//---------------------------------------------------------
// Import Section:
//---------------------------------------------------------
kCB_ImportSection = 5,

kCB_RevealInFinder = 55,

kCB_GyroflowProjectPath = 60,
kCB_GyroflowProjectBookmarkData = 70,
kCB_GyroflowProjectData = 80,
kCB_DropZone = 10,
kCB_ImportGyroflowProject = 30,
kCB_LoadLastGyroflowProject = 25,
kCB_ImportMediaFile = 35,
kCB_LoadPresetLensProfile = 52,

//---------------------------------------------------------
// Parameters:
//---------------------------------------------------------
kCB_GyroflowParameters = 90,
kCB_FOV = 100,
kCB_Smoothness = 110,
kCB_LensCorrection = 120,

kCB_HorizonLock = 130,
kCB_HorizonRoll = 140,

kCB_PositionOffsetX = 150,
kCB_PositionOffsetY = 160,
kCB_InputRotation = 170,
kCB_VideoRotation = 180,
kCB_VideoSpeed = 190,
kCB_GyroflowParameters = 90,

kCB_FOV = 100,
kCB_Smoothness = 110,
kCB_LensCorrection = 120,

kCB_HorizonLock = 130,
kCB_HorizonRoll = 140,

kCB_PositionOffsetX = 150,
kCB_PositionOffsetY = 160,
kCB_InputRotation = 170,
kCB_VideoRotation = 180,
kCB_VideoSpeed = 190,

//---------------------------------------------------------
// Tools:
//---------------------------------------------------------
kCB_ToolsSection = 300,

kCB_StabilisationOverview = 310,

//---------------------------------------------------------
// File Management:
//---------------------------------------------------------
kCB_FileManagementSection = 400,

kCB_LoadedGyroflowProject = 40,
kCB_ReloadGyroflowProject = 50,
kCB_LaunchGyroflow = 20,
kCB_ExportGyroflowProject = 51,
kCB_RevealInFinder = 55,

//---------------------------------------------------------
// Hidden Metadata:
//---------------------------------------------------------
kCB_UniqueIdentifier = 500,
kCB_UniqueIdentifier = 500,
kCB_GyroflowProjectPath = 60,
kCB_GyroflowProjectBookmarkData = 70,
kCB_GyroflowProjectData = 80,
};

//---------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions Source/Gyroflow/Plugin/GyroflowPlugIn.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
NSView* revealInFinderView;
NSView* headerView;
NSView* loadPresetLensProfileView;
NSView* exportGyroflowProjectView;
}
@property (assign) id<PROAPIAccessing> apiManager;
@end
Loading

0 comments on commit bbc7980

Please sign in to comment.