IGlass GUI for blitzmax - V
BlitzMax Forums/BlitzMax Programming/IGlass GUI for blitzmax - V
| ||
Starting fresh Thread (BTW if this is annoying people let me know and I'll stop, I just don't like long threads.) Links to previous threads: http://www.blitzbasic.com/Community/posts.php?topic=46725 IGlass GUI for blitzmax - I http://www.blitzbasic.com/Community/posts.php?topic=47927 IGlass GUI for blitzmax - II http://www.blitzbasic.com/Community/posts.php?topic=50160 IGlass GUI for blitzmax - III http://www.blitzbasic.com/Community/posts.php?topic=50689 IGlass GUI for blitzmax - IV |
| ||
OFFTOPIC RANT: I dont even reply to these threads but I think threads should be about atleast 100 posts for my liking. |
| ||
Fair enough. :) |
| ||
Hello Next version of IGlass Studio coming soon with a news friendly icons :) and corrects bugs because i migrated to IGlass 1.5.2 :) and next version is compatibls with other OS : MacOSX and Linux Screen : :) |
| ||
Cool :) i hope to test it very soon :) little scarab :) |
| ||
There appears to be a bug in progress bars. I set the maximum to 100 and the value to 100 and the progress bar reads 101%. If it's some kind of internal floating point inaccuracy within IGlass, perhaps the solution is to just not let the progress bar go above 100 or below 0. |
| ||
ok i'll correct it :) thanks to help me :) |
| ||
Seyhajin that looks so frickin cool! |
| ||
Is it possible to intercept the close gadget of a window? I would like to have a close gadget, but I don't want it to just close the window and show the background because this is my Base Window and I want to shut the whole program when the user closes it. I don't need to stop it closing the window, I just need to know that the event occurred. |
| ||
Yes if MyWindowXXX01.Button_Close.ClickGadget()=True then blabla endif |
| ||
:) It's ok for you ? |
| ||
That works perfectly, thanks. It also allows me to stop the window closing, which is even better than I hoped. Thanks. |
| ||
By the way, is there anything stopping me from creating custom gadgets? I'd like to create a new gadget type which looks like a button but behaves like a label. I thought I could just add my own inc_ and add a new button class, but I'm not sure if there's anything I have to watch out for doing this. I notice you have family Globals for each type. IGL_PushButtonFamily for the push button, for example. I assume I'll need one of these for my custom gadget? What's the lowest unused number I can use for my new gadget? |
| ||
Yes it's possible to add your hown gadget :) i plan an explain to do this. But you can follow the radiobutton tutorial of scott shaver : http://www.blitzbasic.com/Community/posts.php?topic=50689 |
| ||
Ah yep, thanks for that, Filax ( and Scott ) That's just what I needed. I wasn't sure what I would need to modify in IGL_Master, so that's saved me some time. |
| ||
I know you are creating something different than that requester but just realize that I think I have gadget centering code a bit messed up in it fro the radio button list. |
| ||
Thanks Scott, I had the gadget code ok by myself. I only really needed to reference the changes to IGL_Master, and my new custom gadget is working fine. Filax: I recently added my first Combo gadget, and now the program is crashing. I've tracked it down through the IGlass files to a line in IGL_Combo.bmx, namely this line : IGL_DrawImage(SelectedIcon,Combo_Px+2,Combo_Py+1,Color,0,Blend) I've added a little debug code and SelectedIcon is a null when that line is called. What would cause that to happen? I've checked IGL_Combo's CreateItem method and it seems to use a default icon if I don't supply my own icon for an item ( because I'm not supplying my own icon ) so I'm not sure what the problem could be. |
| ||
On further investigation, it occurs only if I create a combo gadget and don't add any items to it. Not to worry, I can add a blank item to the gadget and it's fine. |
| ||
Hi Sybixsus If i understand ? if we don't add icon under a combo item the combo crash ? or if i make an empty combo ? i have modify the combo example with : Local Combobox1:IGL_Combo Combobox1=IGL_Combo.Create(MyWindow01,12,45,160) Combobox1.CreateItem("Combo item number 1",IGL_Icon_Screen) Combobox1.CreateItem("Combo item number 2",IGL_Icon_Default) Combobox1.CreateItem("Combo item number 3",IGL_Icon_CDROM) Combobox1.CreateItem("Combo item number 4") Combobox1.ActivateItem("Combo item number 2") And the item 4 have a default icon and the program don't crash. What your iglass version ? 1.5.3 ? Cheers |
| ||
Filax, I love iGui! I'm just starting out but it is so much fun to work with! |
| ||
Nice screen :) i'm happy if you love ma gui :) |
| ||
It's fantastic. Though it is sad, that "HideMouse()" works no more in 1.10. Maybe this will change in future releases of BlitzMax, otherwise a IGL_InitGUI(0) would be nice (standard window, linx, macos mouse pointer). And some kind of password option for the input gadget would be nice, too (I helped it out with a trick - I don't like to code in other peoples sources ^^). |
| ||
made a passworded input box is veary easy a think i'll try to make this for a futur release |
| ||
If i understand ? if we don't add icon under a combo item the combo crash ? or if i make an empty combo ? No, it was only happening if I made a completely empty combo box. There's no real need to have the combo box completely empty, I can work around that. It's not a problem. |
| ||
Hello. How do I know which window is currently selected? Thanks. [edit] Ok, so I figured it by checking to see if the disable flag is set to false, yes? Goodbye. |
| ||
Hum i think that you can check the window title ? with : If MyWindow.Caption="MyWindow01" and MyWindow.Disable=False then blabla endif It's an idea :) |
| ||
Hello. There seems to be an issue/conflict between input boxes and the notify command. Try this: Any suggestions? [Edit] Ok, so I should use the IGlass message boxes only, yes? Goodbye. |
| ||
I could not wait for the BRL GUI module so I just purchased this. @Filax, Can you email me the files please. |
| ||
SoggyP, of course :) use Iglass request Videogame Takeaway : Only when share it return me your order :) i have got some surprises with BCF .... But it's ok now. |
| ||
@Filax, got it now. Thanks. |
| ||
Is there a problem is ListBoxes? I compile the included example and the Listbox is empty, it scrolls and it makes a noise when I click in the box but there is no text. There is also no caption. |
| ||
But they come back when I switch to OpenGL. Please fix as I want to use DirectX. |
| ||
Your problem explain like that don't help me to find eventual bug :) Please add an example :) but for information i have test Iglass with DirectX AND Opengl without problem. Please clarify. |
| ||
Your problem explain like that don't help me to find eventual bug :) Please add an example :) but for information i have test Iglass with DirectX AND Opengl without problem. Please clarify. Please Verify your framework you should forget a stuff. |
| ||
I am running your example titled "IGlass_Listbox.bmx", you provided this. Your example does not use Framework. DirectX: OpenGL |
| ||
Hmm, that's weird. What version aare you using? I have no problems with the 1.5.1 or 1.5.2 versions in OGL or DX. |
| ||
Version 1.5.2 delivered today. |
| ||
I'm sorry :) but verify your sources :) If you want to use DirectX with Bmax you must use a framework... Please use this framework with the listbox example and miracle :) ; DirectX Framework : Framework BRL.D3D7Max2D Import BRL.JPGLoader Import BRL.PNGLoader Import PUB.Igl SetGraphicsDriver D3D7Max2DDriver() ;Opengl Framework : Framework BRL.GLMax2D Import BRL.JPGLoader Import BRL.PNGLoader Import PUB.IGl SetGraphicsDriver GLMax2DDriver() Work perfectly with bmax 1.10 and Iglass 1.5.2 Cheers PS : Because i'm curious :) i have try this framework Strict SetGraphicsDriver D3D7Max2DDriver() ' -------------------------- ' Load IGL gui ! important ! ' -------------------------- Include "./IGL_Classe/Inc_IGlass.bmx" ................. It work too |
| ||
I think you are missing the point. I am using the example supplied with the software - it does not work with directX (see above) The example does not use the Framework command. If you do not use the Framework command in your projects all modules will be included in the .exe IF I use the code you suggest it still does not work and now the arial font is missing and all GUI fonts are the default BMAX font. |
| ||
Please clarify : Tell me if i'm wrong, but blitzmax use opengl by default ? no ? How can you say that iglass example don't work under directx if you don't change the blitzmax current renderer ? with SetGraphicsDriver D3D7Max2DDriver() Can you explain me ? Because iglass example by default are opengl. |
| ||
BMAX works with DirectX as a Default. If I set the GFX driver for OGL it works. |
| ||
"BMAX works with DirectX as a Default" It is a news for me !, I believed that the driver directx appear from the 1.9 blitzmax version ? Anybody have this problem with listbox ? Videogame Takeaway : What your graphics card ? |
| ||
I found the problem. I changed the projection matrix for the game I am developing so that I could give depth to 2d images, the GUI for some reason does not like it. Images were being drawn according to the z-Position and not the order in which they are drawn to screen. Thanks for the support and sorry for being a right pain in the arse. |
| ||
It is a news for me !, Its true, as of 1.10 the default driver on Windows is DirectX.I tried it on 9 systems here with DX as the default and I do not get this problem with any of them. |
| ||
Videogame Takeaway : Pfiuuuuuu ! lol :) you want to kill me ? :) |
| ||
Good job I'm not a mechanic working on cars :P |
| ||
This works OK in both modes on my WinXp SP2, 2700+ , 9800Pro (6.14.10.6490) 1Gig RAM |
| ||
How do I Focus on an inputbox? Basically I have a registration screen, if the user clicks "Commit" I run some checks on the data and if there is an issue I Notify the user. I want to be able to focus on the Inputbox where the error is. I just need a command like NewName_Input.Focus = True EDIT ************ Found it :- NewName_Input.State = True And while we are here: How do I set IGL_InputFont? |
| ||
You can't change the font for the moment. |
| ||
[EDIT]Your Insructions did not say that you have to Activate a ComboBox Item for it to work. Non Activation = MAV |
| ||
What ?? The activate method coming with the next release. |
| ||
The following example will give me Memory Exception faliure.LocalUser_Window = IGL_Window.Create("Local Users",500,60,200,210)',False,False,False) LocalUser_Combo = IGL_Combo.Create(LocalUser_Window,10,10,160) LocalUser_Combo.CreateItem("Select User",IGL_Icon_Default) This code will not LocalUser_Window = IGL_Window.Create("Local Users",500,60,200,210)',False,False,False) LocalUser_Combo = IGL_Combo.Create(LocalUser_Window,10,10,160) LocalUser_Combo.CreateItem("Select User",IGL_Icon_Default) LocalUser_Combo.ActivateItem("Select User") Your documentation does not say that you must use ActivateItem. |
| ||
This bug is corrected in the next 1.5.3 release. |
| ||
@Filax, I'm adding code to yours as I go to give some extra functionaility, where is the best place to post this code for possible future inclusion? For Example, I added this to enable me to quickly reset an Input Field. Type IGL_Input Extends IGL_Widget ....Blah ' ------------------------ ' Method : Clear an Input ' ------------------------ Method Clear() Self.Caption="" Self.CursorPX = 0 self.CursorOffset = 0 End Method |
| ||
Why not :) it's a good idea :) but can you post me new functionality by email ? |
| ||
Yep, No problem. |
| ||
In the following example, how would I make MyWindow02 the current window when created?' ================================================================== ' Project Title: IGlass template example ' Author: Agnisola Philippe (Filax) ' Email: blitz3d.fr@... ' Version: 1.0.0 ' Date: 10/03/2005 ' Notes: ' ' ' ================================================================== Strict ' -------------------------- ' Load IGL gui ! important ! ' -------------------------- Include "./IGL_Classe/Inc_IGlass.bmx" ' ------------ ' Open graphic ' ------------ Graphics 800,600,32,NOSYNC ' -------------------------- ' Init IGL gui ! important ! ' -------------------------- IGL_InitGUI(1) 'IGL_InitBackground("./IGL_Demos/Background_01.jpg") IGL_InitBackground("../tg/skyatnightold_800_600.png") ' --------------- ' Build interface ' --------------- Global MyWindow01:IGL_Window Global MyWindow02:IGL_Window MyWindow01=IGL_Window.Create("TG_Window1",50,50,180,150) Local MyButton0:IGL_PushButton MyButton0=IGL_PushButton.Create(MyWindow01,"ByeBye",10,10,160) Local mybutton1:IGL_Pushbutton ' ------------- ' The main loop ' ------------- While Not KeyHit(KEY_ESCAPE) Cls ' ----------------------------- ' Refresh IGL gui ! important ! ' ----------------------------- IGL_RefreshGui() ' -------- ' Gui test ' -------- If MyButton0.ClickGadget() And mywindow02=Null Then MyWindow02=IGL_Window.Create("TG_Window2",150,150,180,150) MyButton1=IGL_PushButton.Create(MyWindow02,"Really?",10,10,160) EndIf If mybutton1 <> Null If MyButton1.ClickGadget() Then Exit EndIf EndIf ' ------------------------------- ' Draw FPS info (use IGL_Fps var) ' ------------------------------- SetColor 255,255,255 DrawText "FPS : "+IGL_Fps,10,10 ' ------------------------ ' Swap buffer and flushmem ' ------------------------ Flip FlushMem() Wend ' --------------------------- ' Clear IGL gui ! important ! ' --------------------------- IGL_ClearGui() End or should I be doing it another way? |
| ||
I don't understand you want that the last window (2) activated ? |
| ||
Has Anyone Tested this GUI on Windows98? I have win98SE2 dx9 on a test machine and the GUI gives very unpredictible results - Basically the GFX are all over the place. I believe this is an issue with the functionality in BMAX, hence this other thread I made : http://www.blitzbasic.com/Community/posts.php?topic=50015 SUmmary :- To Confirm, to set colors and blendmodes in Win98 you must do the following:- 1) SetBlend(SOLIDBLEND) 2) SetColor(R,G,B) 3) SetAlpha(NEWALPHA#) 4) SetBlend(NEWBLENDMODE) If you do not do it in this order the changes to color, alpha and blendmode will be ignored. @Filax, All your image functions are within the Compiled Module, can you please make these changes so that our apps are compatible on win98. |
| ||
@TonyG : Here is the Focus Method, place this in the Inc_Window.bmx file within the type IGL_Window ' -------------------------- ' Method : Focus a window ' -------------------------- Method Focus() Self.Hide = False Self.ActivateWindow() End Method This will show the window, activate it and give it focus. myWindow.Focus() |
| ||
Hmmm. I tried the MyWindow02.Focus() and also MyWindow02.ActivateWindow but neither gave focus to MyWindow02. If I recreate the windows seperately... MyWindow01=IGL_Window.Create("TG_Window1",50,50,180,150) MyWindow02=IGL_Window.Create("TG_Window2",150,150,180,150) then the last window created has focus. However, when I use the method above MyWindow01 keeps focus. Filax, yep, I want MyWindow02 to have focus when created. |
| ||
Simply use the method MyWindow.ActivateWindow() :) |
| ||
Like this?' ================================================================== ' Project Title: IGlass template example ' Author: Agnisola Philippe (Filax) ' Email: blitz3d.fr@... ' Version: 1.0.0 ' Date: 10/03/2005 ' Notes: ' ' ' ================================================================== Strict ' -------------------------- ' Load IGL gui ! important ! ' -------------------------- Include "./IGL_Classe/Inc_IGlass.bmx" ' ------------ ' Open graphic ' ------------ Graphics 800,600,32,NOSYNC ' -------------------------- ' Init IGL gui ! important ! ' -------------------------- IGL_InitGUI(1) 'IGL_InitBackground("../IGL_Demos/Background_01.jpg") 'IGL_InitBackground("../tg/skyatnightold_800_600.png") ' --------------- ' Build interface ' --------------- Global MyWindow01:IGL_Window Global MyWindow02:IGL_Window MyWindow01=IGL_Window.Create("TG_Window1",50,50,180,150) Local MyButton0:IGL_PushButton MyButton0=IGL_PushButton.Create(MyWindow01,"ByeBye",10,10,160) Local mybutton1:IGL_Pushbutton ' ------------- ' The main loop ' ------------- While Not KeyHit(KEY_ESCAPE) Cls ' ----------------------------- ' Refresh IGL gui ! important ! ' ----------------------------- IGL_RefreshGui() ' -------- ' Gui test ' -------- If MyWindow02<>Null MyWindow02.activatewindow() If MyButton0.ClickGadget() And mywindow02=Null Then MyWindow02=IGL_Window.Create("TG_Window2",150,150,180,150) MyButton1=IGL_PushButton.Create(MyWindow02,"Really?",10,10,160) MyWindow02.activatewindow() EndIf If MyButton1<>Null If MyButton1.ClickGadget() Then Exit EndIf EndIf ' ------------------------------- ' Draw FPS info (use IGL_Fps var) ' ------------------------------- SetColor 255,255,255 DrawText "FPS : "+IGL_Fps,10,10 ' ------------------------ ' Swap buffer and flushmem ' ------------------------ Flip FlushMem() Wend ' --------------------------- ' Clear IGL gui ! important ! ' --------------------------- IGL_ClearGui() End Still doesn't focus on MyWindow02. <edit> I'm assuming you have tried this and it works which is very strange. How are you using ActivateWindow different than me? Can you post your code which has this working? |
| ||
See Below |
| ||
Fixed, replace the ActivateWindow() Method with this code' -------------------------- ' Method : Activate a window ' -------------------------- Method ActivateWindow() IGL_DisableAllWindow() ' ------------------------- ' Paste the window To front ' ------------------------- If ClassType<>IGL_VirtualWindow Then IGL_WindowList.remove(Self) IGL_WindowList.addLast(Self) EndIf State = True Disable = False IGL_WindowPrevSelected=ID End Method |
| ||
Thanks for this fix |
| ||
Yep, that works. Thanks VGTA. Filax, I've made the changes but will they also make it into 1.5.3? |
| ||
Of course :) |
| ||
Can I get a Fix for Win98 now please :D |
| ||
No because i'm waiting the next blitzmax update, maybe solve the problem, and i hait make two times the same work. |
| ||
I can't wait that long :D |
| ||
"se faire attendre c'est se faire désirer :") like say in french :) |
| ||
"he who waits for something good" Btw filax who is developing this gui? I get the impression that you it's this guy: Seyhajin |
| ||
No no :) I have made Iglass and Seyhajin have made the GUI builder, himself coded with IGlass :) I'm clear ? :) |
| ||
clear clear, great work both of you! :) |
| ||
Just come across an annoying problem/bug. If I put an IGL_Value on top of an IGL_StaticImage, there is an unsightly flicker on the screen the very first time I mouseover the up and down icons belonging to the IGL_Value. It ONLY happens if I draw it in top of an image. It ONLY happens the first time I move the mouse over those buttons. It ONLY happens on the up and down buttons, not the area where you can type the number in. |
| ||
Hi, just bought IGlass. Excellent GUI! (using WinXP) I am trying to encapsulate a simple game in types (classes) and have have an issue(I think!). I am using Iglass to provide buttons/controls within a non-windowed GUI. I have created Types for Game Control, Menu and now Level Selection. Each Type is store in its own source file. Both the level and menu source use IGlass and so I have included "Inc_IGlass.bmx". Everything was OK when I just had a menu, once I added the source for Level selector the compile fails with:- "Compiling:gamecontrol.bmx [ERROR]: Compile Error: Duplicate identifier 'IGL_Widget' [ERROR]: [.bmx/Level.Bmx.debug.win32.i;31;1]" It seems not to like including the file in 2 differnt source files within the same project. Any one found a way around this? |
| ||
Sybixsus: Can you give me a bmx example for value gadget and image flicking ? MarkAM : But i don't understand your problem with the compilation ? you add some code directly under IGlass ?? and you have a compilation error ? Or you try to add functionality under IGlass with your hown include ? If i read correctly the error message, i understand : [ERROR]: Compile Error: Duplicate identifier 'IGL_Widget' [ERROR]: [.bmx/Level.Bmx.debug.win32.i;31;1]" You have duplicated the IGL_Widget object and there is an error under you Level.bmx ? no ? |
| ||
filax: Than ks for the reply. I am not modifying IGlass. The problem seems to be that I am including "Inc_IGlass.bmx" twice, once in menu.bmx and once in level.bmx. When it compiles it causes the error. The only solution I can see is to combine them into on source file. |
| ||
Filax: Just tried putting all my code in one source file.....works great! :-) Seems that all the iGlass code need to be in one source file or the compiler gets confused by multiple include statements. |
| ||
Cool :) |
| ||
I was thinking about buying IGlass, but I just have one question. Can I mix IGlass and OpenGL as I need it for a 3D level editor. Thanks in advance :) |
| ||
In theory there is no problem :) but i have never test it :) Fredborg have find a way to mix opengl with bmax 2D command without problem :) Iglass is made fully with standar bmax command :) |
| ||
Filax, Have you got any intention of making Bmax docs for IGlass and add them to F1F1? |
| ||
I dont' know i can do it ? |
| ||
yep, the 'rem, bbdoc, end rem' block will be picked up from your modules or an igl.bmx file with those statements in it and binary code imported. This might help |
| ||
Many thanks ! i'll look this ... |
| ||
Hmmm, bit of a bad night so far. Build modules for some Mapppy stuff and noticed it also archived igl.debug.win32.a and igl.release.win32.a Now, when I run any IGL examples produces... C:/Program Files/BlitzMax/IGlass_1.5.2/.bmx/IGlass_Animated_Button.bmx.gui.debug.win32.o(code+0x1061): undefined reference to `pub_igl_IGL_Fps' which is repeated for lots of functions. All examples give the same error. Copy a backup of my igl.mod directory replacing the old one and all OK again. Anybody else get this? Recent changes have been Indiepath's single surface and 'TnL' code. |
| ||
Maybe a solution : Remove IGL.MOD from PUB directory rebuild your module, and next put the previous IGL.MOD under PUB directory ? I see a relation between IGlass_Animated_Button.bmx and the modification under the single surface stuff ! and ... i can't make iglass modifications from an unofficial mod modification ! i hope that your understand ? :) |
| ||
Yep, that's what I'm doing and it works fine. It might also be what's clobbered the Mappy module. I'll restore and see whether it's the single-surface stuff. Thanks for the quick response. |
| ||
Hmmm... The single surface stuff uses core Bmax now rather than any setuv additions. I backed-out the changes for the software render stuff but build modules for IGL still causes the 'undefined reference' messages. At the moment, I can keep restoring igl.mod but you might want to see if anybody else gets this. <I reserve the right to have done some very stupid> |
| ||
Hmmm.... ??? You seem be the only one ? i have not receive mail about this problem ! :/ |
| ||
Interested in I-Glass, as it would same me quite alot of time. Can you tell me if I purchase it, do I receive access to any updates for free or do I have to purchase a new copy everytime a bug fix/new feature is added? Cheers Iain |
| ||
filax has so far been sending out updates free of charge. |
| ||
Excellent. All I needed to know. Seems a fair price for a lovely GUI. Scott, you made your SAS map editor with it, didnt you? Nice editor by the way. Sin |
| ||
Yep that was me. Thanks. :) |
| ||
Gah! Share-it's down for maintenance! 2 hours 38 minutes to wait apparently! Sin |
| ||
By the way, does that IGlass Studio (rather nice IGlass editor screenshots above) come with IGlass or how do I get hold of it (download?, buy?). Just bought IGlass, waiting for the download link. :p Sin |
| ||
No IGlass Studio is fully free (still beta for the moment) but coming in full release with the next 1.5.3 Iglass update. |
| ||
By the way, how long should it take to get the link to the download. I got the Share-it email telling me that the payments been taken and that "You will receive detailed information on the shipment in a separate e-mail that was sent at the same time as this e-mail." Nope, its been 3.5 hours so far. Filax, is this do with Share-it's problems this morning? No problems if this is standard, just a little worried because they had technical problems this morning. Sin Update: Got a 2nd email from Share-It saying it'll be delivered within 48hrs... happy now. :D Cant wait |
| ||
No :) the standard delay for delivery is 24H00, so don't panic when i go home i'll send to you your product. |
| ||
WooHoo! Brilliant GUI! One small thing, some of your examples get an error due to the number of parameters changing in this release for the ColorPicker. You seem to combine the 3 colors now and pass it as a type... or something. Just thought I'd mention it. Cant wait for the Studio to be complete. :) Sin |
| ||
:) just be a little bit patient i'm knoking my disciple,Seyhajin to finish the new iglass studio soon with the 1.5.3 release :) I have checked and modified all examples, for bugs. Here is the new version 1.5.3 worklog : |
| ||
Is anyone else having a problem with using IGlass and debug mode of BlitzMax? If there's a runtime error in my code, normally the offending line will be highlighted in the IDE, and a message box will pop up. This is on windows 2000. If the code uses IGlass, BlitzMax gets as far as highlighting the offending line, but never pops up a messagebox. Instead it stops responding to any user input, and my only option is to close BlitzMax and the running exe. Frustrating. Other than that, I love it so far! It has definitely sped up development of my game :) |
| ||
Hi Dip I have try all examples in debug mode on but there is nothing ? it work correctly for me :) what your error message ? There is nothing in the output window ? no error message refering Iglass ? I have maybe a solution : When my code don't work in debug mode (when the output tab don't report me an error, and when bmax don't open the include with the bug) i open all my include in the bmax IDE, and i retry to compile in debug mode. And if there is an error message the code TAB with the bug bring to front ! strange but it work. Your are the first user to report me this bug ?? anybody confirm ? |
| ||
All the examples work ok. If I try adding a debugstop in it, for example, the same thing happens. The IDE stops and highlights the line, but then stops responding. The one I tested on was the IGlass_Menu.bmx example. I also tried opening all the includes like you mentioned. Same result. I'll edit this to add that when it happens, the debug tab is shown, but blank. I can't click any of the tabs or menu items, or scroll the code. It just stops responding altogether. |
| ||
I have send an email to all my customers to see if they have this problem ! what your blitzmax version ? 1.10 i hope ? And this error with debugstop bug only when you use Iglass ? |
| ||
I have try your method on the Example Menu i have inserted a line debug stop between : If MyMenu1.SelectedItem="Exit" Then DebugStop() IGL_MessageBox("Message","You have clicked 'Exit'",1) Exit EndIf And when i click on the item EXit the program stop and i return on the editor ! but if the program don't stop i think this is normal ? you must press the STOP Button (bmax toolbar) to really stop your app. Debugstop() pause only the program execution but don't quit the app. If you want debug some value etc Use Function DebugLog( message$ ) to check value or if the program execute correctly your function. |
| ||
When are you sending out the link for 1.5.3? |
| ||
When blitzmax will be released to the 1.11 version ! because i have compiled Iglass whit this new version (BETA) there is many littles changes 'Flushmem out' 'Nosync ou' module must be recompiled etc and if a won't send 100000 versions for each blitzmax release i think this is the good solution. But don't panic, the new version coming :) |
| ||
Uh oh, sounds like trouble. Meaning source written for 1.10 won't work anymore :( |
| ||
I can confirm that debugstop 'crash' the app when using the key 'F9' (forward debug). It seems related to the ammount of code lines/functions/types declared. At the start of our project, I was able to step in the code 'during' several lines, but with a heavier code, IDE and exe crashes after few lines. Including IGlass adds a whole bunch of new types ;-).. and debug steps are almost impossible ;-/ PC : Windows XP+256 Mb On a W98 PC, Iglass makes Windows pretty instable after few runs of the program. I guess it is related to memory management (flushmem ?)... Maybe this should be posted in the debug forum... I did not checked if this issues is already related somewhere... |
| ||
Thank for reporting. But about this, i think that iglass is not responsable ? IndiePath : Don't panic i have retranslate all example to work with the 1.11 bmax release, think that your sources writen with Iglass need minor changes to work fully. I'm working on my particle editor, using the 1.11 bmax beta + iglass without problem. |
| ||
Pingus, Thanks for confirming that I'm not crazy :) It sounds like it is a problem with the blitzmax IDE itself then, and not IGlass. IGlass just causes the conditions that make the IDE have problems. filax, If you are using the 1.11 bmax for testing, maybe the problem is already solved (just waiting on it to be released!) If you still have version 1.10 somewhere, could you try the debugstop in it, and see if you have problems? Edit: I just tried the same file using the BLIde version 0.5.1, and it successfully breaks program execution and allows me to continue working. Looks like I found a new IDE :) |
| ||
Good :) |
| ||
Filax, are you saying you had to go through all your code 'adjusting' certain commands for it to work in 1.11? |
| ||
Filax, are you saying you had to go through all your code 'adjusting' certain commands for it to work in 1.11? I hope he did not mean this, I think he did.... I really hope he did not as this means big trouble for existing apps compiled with new versions of Bmax. |
| ||
No :) don't panic :) The commands are the same :) but i have modified internal code commands to work with 1.11. I have only add new method. I hate developer's that make command changes every time with command :) |
| ||
is there any for linux?... im working on both version Windows and Linux |
| ||
and next version is compatibls with other OS : MacOSX and Linux 4th Post ;) |
| ||
Iglass is fully compatible with mac , pc , linux 4th Post ;) |
| ||
Iglass should be free because MAXGui is gonna be out any minute now. Just Kidding! :) I do think that iGlass should be AT LEAST the same price as MaxGUI because I'm not really fond of it's current price. |
| ||
Iglass price is 20 euros, but share it take '4~5' euros for each order.Result : 15 euros in the Filax pocket :) But i don't see why Iglass must be free ? I have many many work on this lib. Each coder's are free to make her hown GUI and i don't put a gun on the blitzuser's head to buy it :) If you prefer Blitzmax GUI :) buy it :) Iglass was made for games menus or small utilities. I think that these two interfaces are complementary because, i don't see much games made with a window GUI ? And Iglass have less controls than Blitzmax GUI. But Iglass is nice and fully skinable, and, work in full screen mode :) And PC MAC LINUX :) |
| ||
Can I buy it for 20 dollars and put 15 dollars in the filax pocket? :) |
| ||
Free for you:) only if you married me:) |
| ||
so can I buy it for 20 US Dollars then? :) |
| ||
Only if you married me:) send me an email, for the choice of the church... |
| ||
http://www.acparis.org/ can i now send the 20 over share it? |
| ||
I have send to you an email at : tonechild2000@... |
| ||
Small question Filax : Can i apply a style at a window, and an another style to an another window ? In french, Puis je appliqyer un style à une fenetre, et en appliquer un autre à une autre fenetre ? |
| ||
No progi ! due to many bitmaps for create a skin you can have only one skin at the same time. But you can colorize each control with a different color. PS : C'est rigolot de se parlé anglais entre nous :) |
| ||
Lol... Can you have a screenshot of that ? As tu screen d'une skin et plusieurs couleurs ? Que mon anglais est pourri ! |
| ||
IGlass is delivered with 4 skins. |
| ||
Ok ! Thank you ! I have an idea of program but I discuss with you later ! |
| ||
Iglass GUI released for blitzmax 1.12 check your mail :) If you have not receive (i have many wrong email adress) send me an email with the email used for IGlass ordering. |
| ||
Iglass GUI released for blitzmax 1.12 check your mail :) If you have not receive (i have many wrong email adress) send me an email with the email used for IGlass ordering. --------------- Version 1.5.3 : --------------- ---------------- Bugs not fixed : ---------------- - The mac version have a bug with the incbin command (font 'arial.ttf' & 'blitz.fon' must be distributed with you apps), linux and win32 ok. - The mac version seem to have a bug with the scrollbar bar modification (very minor bug, only see in files requesters), linux and win32 ok. - You can't hide a gadget under a TAB (i'm searching solution) ----------------- Command changed : ----------------- - New sounds for button click and requester - Font name changed - The method .ActivateItem("XX") for listbox and combo, changed to .ActivateItemName("XX") ----------- Bugs fixed : ----------- - Minor memory leak with window sound (fixed) - Minor memory leak with tab sound (fixed) - Minor memory leak with checkbox sound (fixed) - Minor memory leak with color icon sound (fixed) - Minor bug solved with scrollbar, and now the scrollbar are pushed when they are activated. - Minor bug fixed on the focus method for ActivateWindow() - You can disable a gadget under a TAB - You can add a frame under a TAB (malicious @#!*ing bug) - Minor bug with combo, when you forget to activate an item (fixed) - Now when the last window is closed, iglass activate the screen (used for the gadgets directly on the screen). --------------- Commands added : --------------- - 2 New functions to help you to make INI file easily IGL_ReadIniValue:String(Filename:String, Section:String, Key:String, DefaultValue:String="") IGL_WriteIniValue(Filename:String, Section:String, Key:String, Value:String) look at the example : IGlass_Config_File.bmx - 1 new method added for listbox : RenameItem(Item:String,NewName:String) look at the example : IGlass_ListBox.bmx - 2 new method added for push button : GetCaption() SetCaption() look at the example : IGlass_Button_Push.bmx - 2 new method added for custom button : GetCaption() SetCaption() look at the example : IGlass_Button_Custom.bmx - 2 new method added for input : GetCaption() SetCaption() look at the example : IGlass_Input.bmx - 2 new method added for text label : GetCaption() SetCaption() look at the example : IGlass_Label.bmx - 4 new method added for checkbox : GetState() SetState() GetCaption() SetCaption() look at the example : IGlass_CheckBox.bmx - 6 new method added for progress gadget : GetValue() SetValue() SetMinimum() SetMaximum() GetCaption() SetCaption() look at the example : IGlass_Progress.bmx - 7 new method added for scrollbar gadget : GetValue() SetValue() SetMinimum() SetMaximum() GetCaption() SetCaption() SetIncrement() look at the example : IGlass_Scrollbar.bmx - 7 new method added for value gadget : GetValue() SetValue() SetMinimum() SetMaximum() GetCaption() SetCaption() SetIncrement() look at the example : IGlass_Value.bmx - 1 new method is added for the listbox : SortItems() use it to sort listbox items example : MyList.SortItems() or MyList.SortItems(False) ' ascending off - 1 new method is added for the tabs : ActivateTab() use it for activate a tab panel from the caption, example : MyTab01.ActivateTab("Tab 01") - 1 new method is added for the buffer image : Change() use it to change the image : Example MyBufferImage.Change(Image:Timage) - A new control is added "Buffered Image widget" :) it's very simple to use, look at the example : IGlass_Image_Buffer.bmx |
| ||
Received and muchly appreciated. Truly is a superb GUI. Quick question for you. You have 4 skins already distributed, but how to you use the other skins? I noticed in the skin folders, there is an Inc_ColorScheme.Bmx which I'm guessing you must add to your projects somewhere. I also found a IGL_Scheme.BMX with the function IGL_InitScheme() but where I do adjust that function? Any help appreciated. Cheers Sin Ps. Any word on Seyhajin's superb little editor? |
| ||
It's really simple (it's explain in the doc ...)! IGlass use by default : IGL_Classe\IGL_Graphics\Default_Skin If you want another skin simply copy all the files from by example : IGL_Classe\IGL_Graphics\Style_Plastic Under IGL_Classe\IGL_Graphics\Default_Skin But i repeat , it's explain in the doc ... |
| ||
Started a fresh thread: http://www.blitzbasic.com/Community/posts.php?topic=53094 IGlass GUI for blitzmax - VI |
| ||
Hello , Yesterday I was purchased Mlitzmax Language , I was used 1 month as demo before and then I upgraded. I was looking about GUI programming , and I found this nice library. iGlass , I downloaded some demos , but most of them didn't work. Only the first example worked. Also this demo above worked. I am interesting to purchase iGlass mod library , but will it work? or do I have problems. I use windows 7 , Blitzmax 1.45 Before Purchase Blitzmax , I was tested Blitz3D and BlitzPlus demos and none of them didn't work at all. I would like to ask , does this library will work with my Blitzmax 1.45? is compatible with windows 7? Also I have and Blide Plus , which I found is the best IDE for BlitzMax. Thank you very much... |
| ||
Save yourself the trouble and do a search for HighGui. It's the best gui that bmax has had. |
| ||
There's also ifsoGUI too:- http://www.ifsogui.com/ And a relatively new one from Ozzi- http://blitzbasic.com/Community/posts.php?topic=96915 Dabz |
| ||
Save yourself the trouble and do a search for HighGui. It's the best gui that bmax has had. I tried the most recent version I could find but the FPS is pretty low for one or two gadgets only... There is a lack of few features too but maybe it's enough for simple things. If you ever need something more complete, I recommend you CEgui, the best I ever used under BlitzMax yet. I would also love to try QT but porting C++ libraries to BlitzMax is hard. |
| ||
I tried the most recent version I could find but the FPS is pretty low for one or two gadgets only Strange both working demos of iGlass and HighGui had very high FPS more than 500 frames here. Does HighGui Supports skinnable interface? I saw and Ozzi library , does Ozzi library support skins? As HighGui seems to be nicer or ifsoGui nicer than Ozzi. |
| ||
iGlass examples not even run at 1fps (so there is certainly an error somewhere) and HighGui around 150 fps (which is ok but slow for 1 or 2 gadgets). I test this under a Windows MacBook Air. Can't be more updated. Does someone have a game using Highgui just to verify ? Last edited 2012 |
| ||
Do you have something created to post it here and I will run it to tell you how many FPS I had. Try to create one small demo with a lots of gadgets and if you have 1 FPS , send it here to download and test it in my computer to tell you how many FPS I had. Might be video card problem or memory. I am run it in windows not MAC , might the library is not fast in Macs or even your Mac is old. Or if you are using any kind of windows emulator in your Mac , and the virtual resources are slow. In fact , I am not fan of Macs. |
| ||
About iGlass you can try the demos available here : http://www.blitzbasic.com/toolbox/toolbox.php?tool=130 None of them is working beyond 1fps. Maybe IGlass need an update or something. I don't care very much, I'm just reporting :) Now for HighGui maybe I don't have the last version (which if you point me to I'm willing to try for the sake of it) but it seem's discontinued no? (I tried this link from GW : http://www.blitzbasic.com/Community/posts.php?topic=94411 ). There is no problem with my video card or memory at all. Driver are up-to-date and I'm on the recent Intel MacBook Air. It's a real windows Seven, no emulation. As an example my OpenGL game is complete with (ce)GUI, physics (box2d), tilemap, layers, AI, particles effect, etc. and running at 400 fps. In fact , I am not fan of Macs. I wasn't very fan too... until I try :) IMO it's the best computer I used in 12 years (but I can't really compare since SSD is a real life changer). Anyway I needed a new laptop and a Mac to port my game on this OS so it worth it. |
| ||
I tried the demos , in windows XP work all and have 1000 frames In windows 7 the 1st demo is working and others not working because there is something about openGL. I tried and another program with name "iGlass Studio and worked in windows XP" I will try it and in windows 7. |
| ||
Wow... IGlass is still going, nice. Not been on the Blitz scene and I remember working on an editor years ago to fix a few bugs. Last edited 2012 |
| ||
If it works for the current version of Bmax i will buy it can any one confim? or is it a dead horse :/ |
| ||
or is it a dead horse :/ I would consider iGlass a dead horse considering the posts I've read about it recently. Maybe BRL should remove it from the toolbox section and just close any thread surrounding it. Dabz |
| ||
Why Filax stopped support his iGlass Library? |
| ||
I guess it wasn't profitable enough for him. |
| ||
Taking into account this thread is over six years old maybe hes gone off to bigger and better things? Scott was last posting four years ago so maybe emailing him would get better results. Last edited 2012 |