-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the build form TSX and each of its initial panels. See #45
- Loading branch information
Showing
9 changed files
with
211 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
module Animate { | ||
|
||
export interface IOptionsBuild extends IReactWindowProps { | ||
} | ||
|
||
/** | ||
* A component for editing the build properties | ||
*/ | ||
export class OptionsBuild extends React.Component<IOptionsUser, any> { | ||
static defaultProps: IOptionsBuild = { | ||
} | ||
|
||
/** | ||
* Creates a new instance | ||
*/ | ||
constructor( props : IOptionsBuild) { | ||
super(props) | ||
} | ||
|
||
/** | ||
* Draws the options JSX | ||
* @returns {JSX.Element} | ||
*/ | ||
render() : JSX.Element { | ||
return <div> | ||
</div> | ||
} | ||
} | ||
} |
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,43 @@ | ||
module Animate { | ||
|
||
export interface IOptionsForm extends IReactWindowProps { | ||
} | ||
|
||
/** | ||
* A form for editing various project/user options | ||
*/ | ||
export class OptionsForm extends ReactWindow<IOptionsForm> { | ||
static defaultProps: IOptionsForm = { | ||
controlBox: true, | ||
canResize: true, | ||
autoCenter: true, | ||
title: 'Options Form', | ||
modal: true | ||
} | ||
|
||
/** | ||
* Creates a new instance | ||
*/ | ||
constructor( props : IOptionsForm) { | ||
super(props) | ||
} | ||
|
||
/** | ||
* Gets the content JSX for the window. | ||
*/ | ||
getContent() : React.ReactNode { | ||
return <Tab panes={[ | ||
<TabPane label="Project" showCloseButton={false}> | ||
<OptionsProject /> | ||
</TabPane>, | ||
<TabPane label="User" showCloseButton={false}> | ||
<OptionsUser /> | ||
</TabPane>, | ||
<TabPane label="Build" showCloseButton={false}> | ||
<OptionsBuild /> | ||
</TabPane> | ||
]} | ||
/> | ||
} | ||
} | ||
} |
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,29 @@ | ||
module Animate { | ||
|
||
export interface IOptionsProject extends IReactWindowProps { | ||
} | ||
|
||
/** | ||
* A component for editing the project properties | ||
*/ | ||
export class OptionsProject extends React.Component<IOptionsUser, any> { | ||
static defaultProps: IOptionsProject = { | ||
} | ||
|
||
/** | ||
* Creates a new instance | ||
*/ | ||
constructor( props : IOptionsProject) { | ||
super(props) | ||
} | ||
|
||
/** | ||
* Draws the options JSX | ||
* @returns {JSX.Element} | ||
*/ | ||
render() : JSX.Element { | ||
return <div> | ||
</div> | ||
} | ||
} | ||
} |
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,29 @@ | ||
module Animate { | ||
|
||
export interface IOptionsUser { | ||
} | ||
|
||
/** | ||
* A component for editing the user properties | ||
*/ | ||
export class OptionsUser extends React.Component<IOptionsUser, any> { | ||
static defaultProps: IOptionsUser = { | ||
} | ||
|
||
/** | ||
* Creates a new instance | ||
*/ | ||
constructor( props : IOptionsUser) { | ||
super(props) | ||
} | ||
|
||
/** | ||
* Draws the options JSX | ||
* @returns {JSX.Element} | ||
*/ | ||
render() : JSX.Element { | ||
return <div> | ||
</div> | ||
} | ||
} | ||
} |
Empty file.
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
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