* 671 Posts in 238 Topics by 74 Members Latest Member: pythagoras   **
IFSO PORTAL
  Advanced search
May 18, 2013, 09:09:12 pm
HomeforumHelpSearchLoginRegister**
Recent Posts
[May 08, 2013, 10:38:33 pm]

[April 26, 2013, 02:00:31 pm]

[April 14, 2013, 12:39:49 pm]

[December 21, 2012, 06:13:17 am]

[November 13, 2012, 02:21:49 pm]

[August 28, 2012, 06:38:27 pm]

[May 28, 2012, 10:12:41 pm]

[May 05, 2012, 01:01:38 pm]

[May 03, 2012, 02:11:03 pm]

[April 30, 2012, 12:48:25 pm]
Pages: [1] 2 3 ... 10
 1 
 on: May 08, 2013, 10:38:33 pm 
Started by TaskMaster - Last post by TaskMaster
This template can be used to make a MaxGUI window/Canvas and use ifsoGUI as your GUI.

  • It will only draw the screen when something in ifsoGUI changes
  • Allows for the resizing of the window
  • Draws the correct OS pointers instead of ifsoGUI pointers like any good WIndow should
  • Handles ifsoGUI events
  • Handles system events
  • Won't continually redraw using up all of the CPU

This will allow you to have a Windows app with an ifsoGUI skin and the app will only redraw when it needs to, instead of constantly redrawing the screen over and over like you normally would in a full screen app.  Of course, you can change it to continually redraw if you need to, while still using the other benefits like system mouse pointers.

 2 
 on: April 26, 2013, 02:00:31 pm 
Started by TaskMaster - Last post by TaskMaster
Here is a function you can call that will set the Windows System Pointer if you are using MaxGUI.  It reads what pointer ifsoGUI wants to display and then sets the system pointer instead.  This way you still get the pointer changes, but you do not have to have specially drawn ones.

Set ifsoGUI to not draw the mouse (GUI.SetDrawMouse(False)) , then call this function after calling GUI.Render or GUI.Refresh.

Code:
Function DrawMouse()
Local iMouseStatus:Int = GUI.iMouseStatus
Select iMouseStatus
Case ifsoGUI_MOUSE_RESIZE
Local iMouseDir:Int = GUI.iMouseDir
DebugLog iMouseDir
Select iMouseDir
Case ifsoGUI_RESIZE_BOTTOM | ifsoGUI_RESIZE_RIGHT
maxgui.maxgui.SetPointer(POINTER_SIZENWSE)
Case ifsoGUI_RESIZE_BOTTOM | ifsoGUI_RESIZE_LEFT
maxgui.maxgui.SetPointer(POINTER_SIZENESW)
Case ifsoGUI_RESIZE_TOP | ifsoGUI_RESIZE_RIGHT
maxgui.maxgui.SetPointer(POINTER_SIZENWSE)
Case ifsoGUI_RESIZE_TOP | ifsoGUI_RESIZE_LEFT
maxgui.maxgui.SetPointer(POINTER_SIZENESW)
Case ifsoGUI_RESIZE_LEFT, ifsoGUI_RESIZE_RIGHT
maxgui.maxgui.SetPointer(POINTER_SIZEWE)
Case ifsoGUI_RESIZE_BOTTOM, ifsoGUI_RESIZE_TOP
maxgui.maxgui.SetPointer(POINTER_SIZENS)
End Select
Case ifsoGUI_MOUSE_OVER
maxgui.maxgui.SetPointer(POINTER_HAND)
Case ifsoGUI_MOUSE_IBAR
maxgui.maxgui.SetPointer(POINTER_IBEAM)
Case ifsoGUI_MOUSE_DOWN
maxgui.maxgui.SetPointer(POINTER_HAND)
Default
DebugLog iMouseStatus
maxgui.maxgui.SetPointer(POINTER_ARROW)
End Select
End Function

 3 
 on: April 14, 2013, 12:39:49 pm 
Started by Zeke - Last post by TaskMaster
The forums are not used much unless somebody finds a bug.  But, I do still keep an eye on the site.

It looks like you have made quite a few improvements.  Good job.

What does SetAlwaysOnBack do?  Is it a call back of some sort?

There have been some people who made skins, but they are using them in their apps, which they want to be unique, so they do not share them.

 4 
 on: March 21, 2013, 08:39:37 am 
Started by Zeke - Last post by Zeke
Hi, guys where are you? Are you still using ifsogui? im using it daily, because my current project use ifsogui so much. My ifsogui module is currenytly so heavily modified from original so i cannot anymore give update, because that will brreak the old code.
but i will show you what modifications i have done:


26.4.2012
   - ALL: Added SetAlwaysOnBack(true/false), GetAlwaysOnBack:int() functions
29.4.2012
   (-ALL: glue code to LUA... used only in my game)
30.4.2012
   - MULTILINE TEXTBOX: Added DeleteLine(line:int) function
   - FIXED: SetAlwaysOnBack.
6.5.2012
   -COMBOBOX: Fixed memoryleak (added destroy method)

18.5.2012
   -ML TEXTBOX & TEXTBOX: Added SetCaretColor(r,g,b) function
20.5.2012
   - ALL: Added SetCenter(centerX,centery) method.
   - MODIFIED: SetEnabled() will no also enable/disable all children gadgets.
   (still in TODO: remember child SeEnabled status)
23.5.2012
   -TEXTBOX/MLTEXTBOX: typing @£$\ (Alt Gr+key) was not possible. FIXED.
30.5.2012
   -ML TEXTBOX: Added SetTextAreaEnabled(<true>/<false>) and GetTextAreaEnabled() functions
12.2.2013
   -ALL: Added SetDisabledColor(r,g,b) and SetDisabledAlpha(alpha)
   -Button: Added DrawAlphaRect if button is Disabled
18.2.2013
   -GUI: fixed GUI.AddGadget() bug. (added gadgets.remove(p))
3.3.2013
   -GUI: modified Compare TabOrder function
   -GUI: Added GetGadgetbyID(id:int) function
   -BASEGADGET: Added GetChildbyID(id:int) and SetId(new_id) methods.
   -ALL: removed gadget name(field still exists) when creating gadget.
   Now You give ID or let gui automatically insert next_id.
   (MCLISTBOX IS currently BROKEN... WILL FIX)
   -ALL: Added field Extra:Object to ifsoGUI_BASE type
7.3.2013
   -PANEL: Added DOuble_CLick event
19.3.2013
   -ALL: changed Create functions to Methods (local panel:ifsogui_panel=new ifsogui_panel.create(...) )
      (width these changes you can easily create custom gadgets.)
20.3.2013
   -ALL: (currently only in PANEL) SetPreDrawCallback and SetPostDrawCallback methods.(you can draw what you want to Panel)


two the biggest changes are, gadgetname (string) are now id (integer, automatic or manual) and All gadgets Create functions are converted to Methods.
there are still some more modifications what i need to do.

what i'm missing. more skins.. if you have some cool skin, please upload it and give me a link. Cheesy






 5 
 on: December 21, 2012, 06:13:17 am 
Started by funnyben123 - Last post by TaskMaster
Hey Guys -

I just bought ifsoGUI and was very impressed with how easy it was to skin. Good job on the implementation!

Here's a pic of my skin
http://www.infotread.com/downloads/guipic001.png


Wow, that looks great.  Good job!

 6 
 on: December 13, 2012, 05:25:09 pm 
Started by funnyben123 - Last post by funnyben123
Hey Guys -

I just bought ifsoGUI and was very impressed with how easy it was to skin. Good job on the implementation!

Here's a pic of my skin
http://www.infotread.com/downloads/guipic001.png

 7 
 on: November 13, 2012, 02:21:49 pm 
Started by TaskMaster - Last post by Htbaa
Cool, a new release. Thanks!

 8 
 on: August 28, 2012, 06:38:27 pm 
Started by TaskMaster - Last post by LoneStar
Thanks for managing this over the years, it was the best fantasy football pool I've been a part of.  ~Lonestar

 9 
 on: August 28, 2012, 10:57:47 am 
Started by TaskMaster - Last post by Beaver4Life
Thanks for the years!

 10 
 on: August 28, 2012, 01:07:31 am 
Started by TaskMaster - Last post by Yankeefan10
Sorry to see them go, but I understand.  Hope all is going well.

Pages: [1] 2 3 ... 10
Powered by MySQL Powered by PHP Powered by SMF 1.1.17 | SMF © 2011, Simple Machines
TinyPortal v0.9.8 © Bloc
TechHead design by Bloc
Valid XHTML 1.0! Valid CSS!