-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
25 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
using VfxEditor.Formats.PbdFormat; | ||
using VfxEditor.Select.Tabs.Common; | ||
|
||
namespace VfxEditor.Select.Formats { | ||
public class PbdSelectDialog : SelectDialog { | ||
public PbdSelectDialog( string id, PbdManager manager, bool isSourceDialog ) : base( id, "pbd", manager, isSourceDialog ) { | ||
GameTabs.AddRange( [] ); | ||
GameTabs.AddRange( [ | ||
new CommonTabPbd( this, "Common" ), | ||
] ); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
namespace VfxEditor.Select.Tabs.Common { | ||
public class CommonTabPbd : SelectTab<CommonRow> { | ||
public CommonTabPbd( SelectDialog dialog, string name ) : base( dialog, name, "Common-Pbd" ) { } | ||
|
||
// ===== LOADING ===== | ||
|
||
public override void LoadData() { | ||
Items.Add( new CommonRow( 0, "chara/xls/boneDeformer/human.pbd", "Human", 0 ) ); | ||
} | ||
|
||
// ===== DRAWING ====== | ||
|
||
protected override void DrawSelected() { | ||
Dialog.DrawPaths( Selected.Path, Selected.Name, SelectResultType.GameUi ); | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters