Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:TomByrne/Guise Conflicts: FD Project/GuiseUI.hxproj
- Loading branch information
Showing
145 changed files
with
2,960 additions
and
3,941 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1183 | ||
1412 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<tags> | ||
|
||
<tag type="guise.core.CoreTags.WindowTag" isEnum="true" asc="true" desc="false"> | ||
<add type="TInst" e="guise.platform.nme.display.StageTrait.inst()"/> | ||
</tag> | ||
<tag type="guise.core.CoreTags.ContainerTag" isEnum="true" natures="guise.platform.nme.display.ContainerTrait"> | ||
|
||
</tag> | ||
|
||
|
||
<!--<tag type="guise.controls.ControlTags.TextButtonTag(true)" isEnum="true" natures="guise.controls.logic.input.MouseOverTrait,guise.controls.logic.states.ButtonStateMapper,guise.controls.logic.input.ButtonClickTrait"> | ||
</tag> | ||
<tag type="guise.controls.ControlTags.TextButtonTag(true)" isEnum="true" checkEnumParams="0" natures="guise.controls.logic.states.SelectableStateMapper,guise.controls.logic.input.ClickToggleSelect"> | ||
</tag>--> | ||
|
||
<tag type="guise.controls.logic.states.ButtonStateMapper" natures="guise.accessTypes.IMouseClickableAccess,guise.accessTypes.IMouseInteractionsAccess"> | ||
|
||
</tag> | ||
|
||
<tag type="guise.platform.nme.addTypes.IDisplayObjectType" natures="guise.platform.nme.display.ContainerTrait,guise.platform.nme.layers.LayerSwapper,guise.layer.LayerOrderer"> | ||
|
||
</tag> | ||
<tags> |
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,45 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<tags> | ||
<tag type="guise.controls.ControlTags.TextButtonTag(true)" isEnum="true"> | ||
<layer name="backing" natures="guise.accessTypes.IGraphicsAccess,guise.accessTypes.IPositionAccess,guise.accessTypes.IFilterableAccess"> | ||
|
||
</layer> | ||
<layer name="labelText" natures="guise.accessTypes.ITextInputAccess,guise.accessTypes.IBoxPosAccess,guise.accessTypes.IFilterableAccess"> | ||
|
||
</layer> | ||
</tag> | ||
<tag type="guise.controls.ControlTags.TextLabelTag" isEnum="true"> | ||
<layer name="labelText" natures="guise.accessTypes.ITextInputAccess,guise.accessTypes.IBoxPosAccess,guise.accessTypes.IFilterableAccess"> | ||
|
||
</layer> | ||
</tag> | ||
<tag type="guise.controls.ControlTags.TextInputTag" isEnum="true"> | ||
<layer name="backing" natures="guise.accessTypes.IGraphicsAccess,guise.accessTypes.IPositionAccess,guise.accessTypes.IFilterableAccess"> | ||
|
||
</layer> | ||
<layer name="inputText" natures="guise.accessTypes.ITextInputAccess,guise.accessTypes.ITextOutputAccess,guise.accessTypes.IBoxPosAccess,guise.accessTypes.IFilterableAccess,guise.accessTypes.IFocusableAccess"> | ||
|
||
</layer> | ||
</tag> | ||
<tag type="guise.controls.ControlTags.SliderTag(true)" isEnum="true"> | ||
<layer name="backing" natures="guise.accessTypes.IGraphicsAccess,guise.accessTypes.IPositionAccess,guise.accessTypes.IFilterableAccess"> | ||
|
||
</layer> | ||
<layer name="controlHandle" natures="guise.accessTypes.IGraphicsAccess,guise.accessTypes.IPositionAccess,guise.accessTypes.IFilterableAccess"> | ||
|
||
</layer> | ||
</tag> | ||
<tag type="guise.controls.ControlTags.ToggleButtonTag" isEnum="true"> | ||
<layer name="backing" natures="guise.accessTypes.IGraphicsAccess,guise.accessTypes.IPositionAccess,guise.accessTypes.IFilterableAccess"> | ||
|
||
</layer> | ||
<layer name="controlHandle" natures="guise.accessTypes.IGraphicsAccess,guise.accessTypes.IPositionAccess,guise.accessTypes.IFilterableAccess"> | ||
|
||
</layer> | ||
</tag> | ||
|
||
|
||
<obj type=""> | ||
|
||
</obj> | ||
<tags> |
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 @@ | ||
3 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package guise.accessTypes; | ||
|
||
import msignal.Signal; | ||
import composure.core.ComposeItem; | ||
|
||
|
||
interface IAccessType { | ||
public var layerName(default, set_layerName):String; | ||
} |
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,13 @@ | ||
package guise.accessTypes; | ||
|
||
import guise.geom.Matrix; | ||
#if nme | ||
import nme.display.BitmapData; | ||
#end | ||
interface IBitmapGraphicsAccess implements IGraphicsAccess | ||
{ | ||
|
||
function beginBitmapFill(bitmap:BitmapData, matrix:Matrix = null, repeat:Bool = true, smooth:Bool = false):Void; | ||
function beginBitmapStroke(bitmap:BitmapData, matrix:Matrix = null, repeat:Bool = true, smooth:Bool = false):Void; | ||
|
||
} |
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,6 @@ | ||
package guise.accessTypes; | ||
|
||
interface IBoxPosAccess implements IPositionAccess { | ||
public function set(x:Float, y:Float, w:Float, h:Float):Void; | ||
public function setSize(w:Float, h:Float):Void; | ||
} |
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,9 @@ | ||
package guise.accessTypes; | ||
|
||
interface IFilterableAccess implements IAccessType { | ||
function setFilters(?filters:Array<FilterType>):Void; | ||
} | ||
enum FilterType { | ||
DropShadow(distance:Float, angle:Float, size:Float, color:Int, alpha:Float, ?inner:Bool); | ||
Glow(size:Float, color:Int, alpha:Float, ?inner:Bool); | ||
} |
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,8 @@ | ||
package guise.accessTypes; | ||
|
||
import msignal.Signal; | ||
|
||
interface IFocusableAccess implements IAccessType { | ||
public var focused(default, null):Bool ; | ||
public var focusedChanged(get_focusedChanged, null):Signal1 < IFocusableAccess > ; | ||
} |
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,21 @@ | ||
package guise.accessTypes; | ||
import msignal.Signal; | ||
|
||
interface IKeyboardAccess implements IAccessType | ||
{ | ||
|
||
function keyDown(keyInfo:KeyInfo):Signal2<IKeyboardAccess, KeyInfo>; | ||
function keyUp(keyInfo:KeyInfo):Signal2<IKeyboardAccess, KeyInfo>; | ||
|
||
function isDown(keyInfo:KeyInfo):Bool; | ||
|
||
} | ||
enum KeyInfo { | ||
Key(keyCode:Int, ?modKeys:Array<ModKeys>); | ||
Char(charCode:Int, ?modKeys:Array<ModKeys>); | ||
} | ||
enum ModKeys { | ||
Ctrl; | ||
Alt; | ||
Shift; | ||
} |
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,21 @@ | ||
package guise.accessTypes; | ||
|
||
import msignal.Signal; | ||
|
||
|
||
interface IMouseClickableAccess implements IAccessType | ||
{ | ||
public var clicked(get_clicked, null):Signal1<ClickInfo>; | ||
public var doubleClicked(get_doubleClicked, null):Signal1<ClickInfo>; | ||
|
||
} | ||
class ClickInfo { | ||
public var left:Bool; | ||
public var altHeld:Bool; | ||
public var ctrlHeld:Bool; | ||
public var shiftHeld:Bool; | ||
|
||
public function new() { | ||
|
||
} | ||
} |
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,22 @@ | ||
package guise.accessTypes; | ||
|
||
import msignal.Signal; | ||
|
||
interface IMouseInteractionsAccess implements IAccessType | ||
{ | ||
public var pressed(get_pressed, null):Signal1<MouseInfo>; | ||
public var released(get_released, null):Signal1<MouseInfo>; | ||
|
||
public var rolledOver(get_rolledOver, null):Signal1<MouseInfo>; | ||
public var rolledOut(get_rolledOut, null):Signal1<MouseInfo>; | ||
|
||
public var moved(get_moved, null):Signal1<MouseInfo>; | ||
} | ||
class MouseInfo { | ||
public var mouseX:Float; | ||
public var mouseY:Float; | ||
|
||
public function new() { | ||
|
||
} | ||
} |
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,5 @@ | ||
package guise.accessTypes; | ||
|
||
interface IPositionAccess implements IAccessType { | ||
public function setPos(x:Float, y:Float):Void; | ||
} |
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,12 @@ | ||
package guise.accessTypes; | ||
import msignal.Signal; | ||
|
||
|
||
interface ITextInputAccess implements IAccessType { | ||
public function getText():String ; | ||
public var textChanged(get_textChanged, null):Signal1 < ITextInputAccess > ; | ||
|
||
var inputEnabled(default, set_inputEnabled):Bool; | ||
} | ||
|
||
|
Oops, something went wrong.