Skip to content

Commit

Permalink
upgrades version to 0.2.1
Browse files Browse the repository at this point in the history
also fixes some things in the forum README.
  • Loading branch information
ericoporto committed Feb 16, 2021
1 parent 988a825 commit 76d5f59
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 17 deletions.
24 changes: 13 additions & 11 deletions README.BBCode
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[size=14pt][b]ImGi[/b][/size] [color=gray][b] version 0.2.0 [/b][/color]
[size=14pt][b]ImGi[/b][/size] [color=gray][b] version 0.2.1 [/b][/color]

[url=https://github.com/ericoporto/ImGi/releases/download/0.2.0/imgi.scm]Get Latest Release [b]imgi.scm[/b][/url] | [url=https://github.com/ericoporto/ImGi]GitHub Repo[/url] | [url=https://github.com/ericoporto/ImGi/releases/download/0.2.0/imgi_demo_windows.zip]Demo Windows[/url] | [url=https://github.com/ericoporto/ImGi/releases/download/0.2.0/imgi_demo_linux.tar.gz]Demo Linux[/url] | [url=https://github.com/ericoporto/ImGi/archive/0.2.0.zip] Download project .zip [/url]
[url=https://github.com/ericoporto/ImGi/releases/download/0.2.1/imgi.scm]Get Latest Release [b]imgi.scm[/b][/url] | [url=https://github.com/ericoporto/ImGi]GitHub Repo[/url] | [url=https://github.com/ericoporto/ImGi/releases/download/0.2.1/imgi_demo_windows.zip]Demo Windows[/url] | [url=https://github.com/ericoporto/ImGi/releases/download/0.2.1/imgi_demo_linux.tar.gz]Demo Linux[/url] | [url=https://github.com/ericoporto/ImGi/archive/0.2.1.zip] Download project .zip [/url]

AGS Script Module for Immediate Gui, uses script Overlays to render the interface.

[color=red][glow=white,2,300][b]This is alfa quality[/b][/glow][/color], I predict Overlays will enter into fashion in one of the next seasons so this module is being written for when the time comes. 8-)
[color=red][glow=white,2,300][b]This is beta quality[/b][/glow][/color], I predict Overlays will enter into fashion in one of the next seasons so this module is being written for when the time comes. 8-)

[img]https://raw.githubusercontent.com/ericoporto/ImGi/main/docs/images/screenshot.gif[/img]

Expand Down Expand Up @@ -80,17 +80,19 @@ If a window of matching title is closed, it opens again.

Controls are things you can place inside a window. Controls cannot exist outside of windows.

Every controls takes a string as label, this string can't be empty and can't match the label of other control.

[b][tt]ImGi.Label[/tt][/b]
[code=ags]void ImGi.Label(String label)[/code]
[img]https://raw.githubusercontent.com/ericoporto/ImGi/main/docs/images/ctrl_label.gif[/img]

This control is a Label containing the specified text.
This control is a Label containing the specified text. It has no interaction.

[b][tt]ImGi.Text[/tt][/b]
[code=ags]void ImGi.Text(String text)[/code]
[img]https://raw.githubusercontent.com/ericoporto/ImGi/main/docs/images/ctrl_text.gif[/img]

This control is a Multiline Label for visualization only.
This control is a Multiline Label for visualization only. It has no interaction.

[b][tt]ImGi.TextBox[/tt][/b]
[code=ags]String ImGi.TextBox(String label, String buf, int bufsz, ImGi_Result* res = 0, ImGi_Opt opt = 0)[/code]
Expand All @@ -100,25 +102,25 @@ This control is an editable TextBox.
[code=ags]ImGi_Res ImGi.Button(String label, ImGi_Icon icon = 0, ImGi_Opt opt = eImGi_Opt_AlignCenter)[/code]
[img]https://raw.githubusercontent.com/ericoporto/ImGi/main/docs/images/ctrl_button.gif[/img]

his control is a Button.
This control is a Button. When clicked, it will return a value different than false.

[b][tt]ImGi.CheckBox[/tt][/b]
[code=ags]mGi_Res ImGi.CheckBox(String label, CheckBoxState* chkst)[/code]
[code=ags]ImGi_Res ImGi.CheckBox(String label, CheckBoxState* chkst)[/code]
[img]https://raw.githubusercontent.com/ericoporto/ImGi/main/docs/images/ctrl_checkbox.gif[/img]

This control is a CheckBox.
This control is a CheckBox. It doesn't store state, so make sure to pass it's state.

[b][tt]ImGi.Number[/tt][/b]
[code=ags]ImGi_Res ImGi.Number(String label, ImGi_Real* value, float step = 0, ImGi_Opt opt = 0)[/code]
[img]https://raw.githubusercontent.com/ericoporto/ImGi/main/docs/images/ctrl_number.gif[/img]

This control shows a Number, set step to allow quick mouse drag adjustments
This control shows a Number, set step to allow quick mouse drag adjustments.

[b][tt]ImGi.Slider[/tt][/b]
[code=ags]ImGi_Res ImGi.Slider(String label, ImGi_Real* value, float low, float high, float step = 0, ImGi_Opt opt = 0)[/code]
[img]https://raw.githubusercontent.com/ericoporto/ImGi/main/docs/images/ctrl_slider.gif[/img]

This control is a Slider.
This control is a Slider.
[hr]

[size=12pt][b]Style and Design customization[/b][/size]
Expand All @@ -130,4 +132,4 @@ Holds the Current Style for ImGi.

[size=14pt][b]License[/b][/size]

This code is licensed with MIT [url=LICENSE][tt]LICENSE[/tt][/url]. The code on this module is based on rxi's Microui, which is also MIT licensed, referenced in the license, this port though has many changes - lots of new bugs too.
This code is licensed with MIT [url=https://github.com/ericoporto/ImGi/blob/main/LICENSE][tt]LICENSE[/tt][/url]. The code on this module is based on rxi's Microui, which is also MIT licensed, referenced in the license, this port though has many changes - lots of new bugs too.
Binary file modified imgi.scm
Binary file not shown.
2 changes: 1 addition & 1 deletion imgi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<Name>ImGi</Name> <!-- set the module name -->
<Description>Script Module for Immediate Gui</Description> <!-- set the module description -->
<Author>eri0o</Author> <!-- set the module author -->
<Version>0.2.0</Version> <!-- set the module version -->
<Version>0.2.1</Version> <!-- set the module version -->
<Key>488029724</Key> <!-- set the module unique key -->
</AGSModule>
6 changes: 3 additions & 3 deletions imgi_demo/Game.agf
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
<DefaultRoomMaskResolution>1</DefaultRoomMaskResolution>
<GameExplorerEnabled>False</GameExplorerEnabled>
<Description />
<ReleaseDate>2021-02-15</ReleaseDate>
<ReleaseDate>2021-02-16</ReleaseDate>
<Genre>Adventure</Genre>
<Version>0.2.0.0</Version>
<Version>0.2.1.0</Version>
<WindowsExperienceIndex>1</WindowsExperienceIndex>
<DeveloperName>eri0o</DeveloperName>
<DeveloperURL />
Expand Down Expand Up @@ -4651,7 +4651,7 @@
<Name>ImGi</Name>
<Description>Script Module for Immediate Gui</Description>
<Author>eri0o</Author>
<Version>0.2.0</Version>
<Version>0.2.1</Version>
<Key>488029724</Key>
<IsHeader>False</IsHeader>
</Script>
Expand Down
2 changes: 1 addition & 1 deletion imgi_demo/imgi.ash
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ImGi Module Header
//
// ImGi Version 0.2.0
// ImGi Version 0.2.1
//
// ImGi is a Immediate GUI for Adventure Game Studio!
// Create dynamic GUIs through AGS Script, rendered to screen using Overlays.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"name": "ImGi",
"text": "Module for Immediate Gui, uses script Overlays to render the interface.",
"forum": "https://www.adventuregamestudio.co.uk/forums/index.php?topic=58842.0",
"version": "0.2.0",
"version": "0.2.1",
"author": "eri0o"
}

0 comments on commit 76d5f59

Please sign in to comment.