User Tools

Site Tools


addons:functions:gui

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

addons:functions:gui [2017/04/21 22:01]
atom0s created
addons:functions:gui [2017/04/22 00:10]
Line 1: Line 1:
-===== Gui Namespace ===== 
- 
-The gui namespace contains functions that interact with the ImGui interface of Ashita. This allows addons to create rich user interfaces. 
- 
-You can access these functions via: 
-<code lua>​ashita.gui.</​code>​ 
- 
-Because of the nature of these functions and the amount of functions that exist, I do not plan to create full documentation for each function. You can find an example of the ImGui demo application ported to an Ashita addon here instead. This will serve as a demo of how to use these functions:​\\ 
-https://​gist.github.com/​atom0s/​188283e6ff097f37fa31400f22ec8762 
- 
-<WRAP important>​ 
-It is important that when making use of the GUI functions, that your addon includes the script: '​imguidef'​.\\ 
-You can do this by adding the following line of code to the top of your addon:\\ 
-<code lua>​require '​imguidef'</​code>​ 
-</​WRAP>​ 
- 
----- 
- 
  
addons/functions/gui.txt · Last modified: 2017/04/22 00:10 (external edit)