OZ GUI

Community Forums/Showcase/OZ GUI

ozzi789(Posted 2012) [#1]
I want to present you my newest project called OZ GUI.
I have been working on it for about a month and i now would call it finished (doesnt mean i wont make bugfixes or so on)

Why OZ GUI?
-B+ & B3D compatible
-Syntax is very simelar to B3D (easy to port code)
-Flexible
-Easy event system
-Help/Documentation file as html available

Screenshot:


Download:
https://www.dropbox.com/s/umqk53lh2vbbptj/OZGUI.zip

Last edited 2014


Yue(Posted 2012) [#2]
Nice =)


GaryV(Posted 2012) [#3]
Looks good!


ozzi789(Posted 2012) [#4]
Thanks Yue & GaryV

I updated the package.
Now one has groups for radiobuttons, the possiblilty to determine which chars the textfield accepts, many fixes and improvements.

Feel free to ask for help or giving feedback :)

Greetings


Guy Fawkes(Posted 2012) [#5]
AWESOME GUI, OZZI!

Can u fix the problem with the text box where it says "parameter must be positive", if u press backspace, and there are no characters in the text box? :)


ozzi789(Posted 2012) [#6]
Hi Thundros

Thanks a lot!
That should be fixed now, just redownload from the link above.
Please tell me if it worked for you and if you need further help :)

Greetings,
ozzi


Guy Fawkes(Posted 2012) [#7]
Type field not found:






Also,







It ONLY seems to do this with OZGUI & nothing else

Last edited 2012


ozzi789(Posted 2012) [#8]
Sorry i did not update all the files

I now tested the download, the type field not found error is fixed.

About the invalid keywords error, i dont know where that comes from, please try again with the correct files and tell me if it still occures.

Sorry for my sloppy upload :/

Greetings :)

Last edited 2012


Guy Fawkes(Posted 2012) [#9]
So far, so good. Except the invalid keywords error. Which I do believe is coming from either functions.bb, or types.bb.

Also, I redid the font part of ur code, cuz it's never good to combine 2 functions into one, or it might confuse Blitz! :)


Also, can we get a blinking cursor for the login so I can see where I'm typing? That's a bit confusing, and annoying, no offense. :)


Also, can we get it so when we hit tab, it takes us to the next input field? :)



That would be GREAT! :)



I'll make an SQL login example if u do! :)







Thanks, Ozzi! :)


Guy Fawkes(Posted 2012) [#10]
Any luck, Ozzi? :)


ozzi789(Posted 2012) [#11]
Hi Thundros
Sorry for my late response!

Im sorry but no one else had problems with the keywords...
I dont know what is causing this on your pc :(

Also the Tab function to jump through the textfields is already implemented ;)

About the blinker, i added it, just redownload the archive and replace OZGUI/functions.bb (every 500 ms it blinks for another 500ms)

Greetings

Last edited 2012


Guy Fawkes(Posted 2012) [#12]
AWESOME, OZZI! =D Is there any way u can make it, so when we hold down the shift key and press left or right, OR hold down the shift key AND the control key, and THEN press left or right, if ur holding ONLY the shift key, then highlight ONE letter, if ur holding the shift AND the control key, then highlight 4 letters. so it works like a regular input box. :) Also, if u hit the left or right arrow keys in the input box, then the cursor is moved to the left by 1 or to the right by 1, without highlighting text :) Also, can u make it so that holding down the backspace key for a couple of seconds, then it deletes text extremely fast, just like a normal input box :)



Thanks, Ozzi! :)

Last edited 2012


ozzi789(Posted 2012) [#13]
Hi Thundros

Glad you like the new improvements :)

I added the cursor feature, use the arrow keys left & right to move the cursor around.

Also DEL button deletes the whole textfield content and backspace only one sign at a time.

About the higlighting stuff, that is kind of complex.. maybe if i find some more time :/


Also i updatet the help file, go get yourself the newest version with the link in the first post :)


Greetings,
ozzi




Edit:
here a screenshot


Last edited 2012

Last edited 2012


Guy Fawkes(Posted 2012) [#14]
Type field not found :(


cursor_pos=Len(i\content$)-i\cursor


ozzi789(Posted 2012) [#15]
darn.. forgot to update type.bb :/

it is now, please tell me if it works :)


Guy Fawkes(Posted 2012) [#16]
Ozzi..... Parameter must be positive. and u said the delete key deletes stuff, but it's not doing that :/


ozzi789(Posted 2012) [#17]
oups i was using b+ when programming, il change it so it will work with b3d too..

where does 'parameter must be positive' appear?

Last edited 2012


ozzi789(Posted 2012) [#18]
im sorry for my bad releases.... please try again i tested it with b+b3d , works great now :)

edit:
and oh, im working on tabbers :P

Last edited 2012


Guy Fawkes(Posted 2012) [#19]
YAY!


Guy Fawkes(Posted 2012) [#20]
Ok, Ozzi. this is BEAUTIFUL now :D


Guy Fawkes(Posted 2012) [#21]
Ozzi, we NEED tabs. :) AND spinners :) That can use floats.


ozzi789(Posted 2012) [#22]
What exactly are spinners?


Tell me if you like the tabbers
https://www.dropbox.com/s/d3zab1xawb39hi9/tabberprototyp.exe

Commands to use are:
oz_createtabber(x,y,w,h)
oz_addgadgetitem(tabber,string$) ;already existed
oz_selectedgadgetitem$(tabber,justid=0) ;already existed -gives back index or string value of the selected item

Greetings

Last edited 2012


Guy Fawkes(Posted 2012) [#23]
Spinners are those input boxes that have the little arrows besides them. 1 arrow points up, and the other points down. when u click on 1 of the arrows, it either raises or lowers a value up or down, in either float (decimal) form, OR integer (regular number) form :)



EXCELLENT work on the Tabbers. Can't WAIT to see the ACTUAL code for this! :)



Thanks, Ozzi! :)

Last edited 2012


ozzi789(Posted 2012) [#24]
Ah!
That sounds pretty nice indeed :)


Il go get coding then..




Edit:
Colors need some tweaking


Last edited 2012


Guy Fawkes(Posted 2012) [#25]
Cool, bro :)


ozzi789(Posted 2012) [#26]
any ideas how i should design the single tabs? they look kinda ugly :/


Guy Fawkes(Posted 2012) [#27]
I would add an image for each tab that looks like a tab :P


Guy Fawkes(Posted 2012) [#28]
Hehe, also make the tabs infinite by adding little left and right arrow buttons next to the 1st and last tabs in the sequence, so that u can click them, and they would go to the next page, and scroll up by 1 or down by 1 if u click the left arrow. up by 1 if u click the right arrow :)


Guy Fawkes(Posted 2012) [#29]
Nother glitch, Ozzi. When u have TOO much text in "oz_createmessagebox", the text doesnt go to the next line. Also. when it reaches the end of the window on both the bottom or the right, it lets the text go past the window without creating a scrollbar in the window.. u ALSO need a function that can disable any gadget u put into the parameters :)

Last edited 2012


Guy Fawkes(Posted 2012) [#30]
Ozzi, I've attempted to make a Login/Register screen. There are a few problems. When I click the login button, there should be a messagebox that appears, says "Logging In...", then switches the text to "Please Wait...", after 1 second, then switches the text to "Please Wait.." after 1 second, then changes the status text to "Please Wait.", after 1 second, then it allows the "Check_User_Authentication()" function to check if the user entered the correct data. Then, if the user entered the RIGHT information, it says "Logged In Successfully!", then waits 1 second, then changes the status text to "Loading Game...", then waits 1 second, and changes the status text to "Please Wait..." then repeats the above text "Please Wait..", "Please Wait.", then allows you to call your actual game function, and clears the 3D DEMO world :)


Also, Ozzi, I wish to ask your permission to use your GUI freely in commercial applications, as long as the header stays intact, since I helped you Beta test / AM STILL helping you beta test OzGUI. If not, I will GLADLY remove this post. Thank you for taking your time to read this and help me / everyone! :)


Here's the code:



UserLoginRegister.bb:







Thanks again, Ozzi! :)

Last edited 2012


ozzi789(Posted 2012) [#31]
Tabbers
First of all, tabbers are now working

Archive is updated!

About the "glitch"
The normal B+ GUI just cuts it off, maybe i should to the same.
Else use /NL* to make a newline if required



UserLoginRegister.bb
The problem with the 3D mode is because you call render_all() before renderworld() !
interaction_all()
		
		clean_events()
		
		Check_If_User_Logged_in()
	
	
		UpdateWorld()
			
		RenderWorld()

		render_all()

should work fine like this!



About the usage of OZGUI
-Give Credits in sourcecode /readme -> my username ozzi789 & contact email 'ozgui@...'
-If you want to use it in a commercial product, feel free to!
-If you make loads of money, id be happy to get a percentage or two ;)


Guy Fawkes(Posted 2012) [#32]
Thanks alot, Ozzi! :) Checking it out now :)


Guy Fawkes(Posted 2012) [#33]
Ok, glitch in the tabbers. If you add more than 3 tabbers, it doesnt show arrow buttons to allow u to go to the next tab or the last tab. if u did that, u could create infinite tabs :)



IE:



Tab 1 | Tab 2 | Tab 3 <- -> Tab 4 | Tab 5... etc...



Other than that, I'm LOVING the tabs! =D

Last edited 2012


Guy Fawkes(Posted 2012) [#34]
EDIT: I have updated the original code for the User Authentication Protocol.


Code now displays login window fine.


Still having problems with what I said in the above text, about hiding the login window and updating the status text, after the user his the Login button.


I also edited the credits to include the correct data :)

Last edited 2012


Guy Fawkes(Posted 2012) [#35]
Also, ozzi, can u add a transparency option to the windows, so we can add as little, or as much transparency for the window backgrounds as we need? :)


Thanks alot, Ozzi! :)


ozzi789(Posted 2012) [#36]
Please thundros use the edit function so you dont have mulitple posts :)

I didnt yet implement the arrow function for the tabbers.. its on my list
Thanks :)

About your problems,i cant understand what you are trying to do, sorry :S


About the transparency, since i am using only 2D Commands , thats nearly impossible.. sorry about that


Guy Fawkes(Posted 2012) [#37]
For transparency, is there a way u can add an alpha channel to the images?



What I'm trying to do is get, is something like this:







Only I'm trying to do it in an Oz_messbox, instead :)

Last edited 2012


ozzi789(Posted 2012) [#38]
Im BlitzMax there is.
In B3D/B+ i would need to use 3D Support instead of 2D Rects for the window.

Well a messagebox isnt there to be edited.

Use a normal window with a textlabel...
try this:

Global winx=1024,winy=768

Graphics winx,winy,32,2
SetBuffer BackBuffer()
Global timer
timer = CreateTimer (60) 
ClsColor 60,60,60
HidePointer 



SetFont(LoadFont("Lucida Console",12,1))



SeedRnd MilliSecs()


Global default_mouse=0 ; Set to 1 to use default windows pointer



Include "OZGUI/functions.bb"
SetFont(LoadFont("Arial",13,1))


Dim login_message$(4)
login_message$(0)="Please Wait"
login_message$(1)="Logging In ."
login_message$(2)="Logging In . ."
login_message$(3)="Logging In . . ."
login_message$(4)="You have successfully logged in!"

	
window= oz_CreateWindow(300,300,250,100,"LOGIN",0,1)
label=oz_createlabel(50,50,login_message$(0),window)

last_time=MilliSecs()


While Not KeyHit(1)

	MSC=MilliSecs()
	If MSC>MTS Then
	MTS=MTS+1000: FPS=FRM: FRM=1
	If MSC>MTS+2000 Then MTS=MSC
	Else: FRM=FRM+1: End If 
	
	render_all()
	interaction_all()
	clean_events()
	

	If MilliSecs()>last_time+1000
		last_time=MilliSecs()
		If login_message_counter<4
			login_message_counter=login_message_counter+1
			oz_setgadgettext(label,login_message$(login_message_counter))
		EndIf 
	EndIf 

	
	Text 20,20,"FPS:"+FPS+"      OBJECTS ID:"+ID+"      OBJECTS COUNTER:"+count_objects()

	
	;WaitTimer timer 
	Flip 0
Wend 

End 

;~IDEal Editor Parameters:
;~C#BlitzPlus



Guy Fawkes(Posted 2012) [#39]
So there's no way to make a background partially transparent, using PNG format?


ozzi789(Posted 2012) [#40]
following solutions:

-with writepixelfast (no good performance, maybe for 1 window)
-using half transparency (mask every second pixel)
-rewrite window system with 3D acceleration


Guy Fawkes(Posted 2012) [#41]
4th solution: Make the images transparent in Photoshop :P


Kryzon(Posted 2012) [#42]
If you're using images with an alpha channel from Photoshop like you want, that'd be his 3rd way of using 3D acceleration.
The images will be used as textures on sprites.

If you want a Windows GUI lib, search for WinBlitz3D by Kev.


Guy Fawkes(Posted 2012) [#43]
I already have it. I like this one better :)


Guy Fawkes(Posted 2012) [#44]
Here, Ozzi. I redid the tabbers image as a test, with alpha channel :)




Last edited 2012


Guy Fawkes(Posted 2012) [#45]
Also, Ozzi. found another glitch. When u minimize a window, no matter WHAT graphics mode, OR size, whether it be fullscreen and 1024x768, or windowed mode and 800x600, it should ALWAYS position the minimized windows at the bottom center of the screen, taking the window resolution and size into account. It does not seem to do this. :) It needs to :) Meanwhile, I'm working on a small hack for window transparency :) Won't be much longer now :)



Thanks again, Ozzi! :)


Guy Fawkes(Posted 2012) [#46]
I have a wireframe version of ur entire GUI. which I will update to work with loading transparent images. I'm tired, so I'll upload it tomorrow :)


ozzi789(Posted 2012) [#47]
@transparancy
im interested to see that :)

@glitch
windows just minimzed and did not change their X position.
i updated the minimize function so windows wont get fully rendered if minimzed -> Performance
also all windows are the same size and "group" themselves.





Guy Fawkes(Posted 2012) [#48]
SWEET, Ozzi! :)


And it was quite more simple than u think to make everything "wireframe" mode :P


I'll post it up in a bit. Right now, I need breakfast :P


Guy Fawkes(Posted 2012) [#49]
Ok, Ozzi. Sorry for the long wait. :)


Just so u know, u can see what I changed in "functions.bb", by doing a "Find" for: "changed", I added in a " ; ", the word "Changed" next to what I changed, as well as the value it was before I changed it before that. As to not get confused to what I have changed :)



Here's what u need:



functions.bb:







The functions have been modified to make all the windows and controls "wireframe", which will allow for transparent images to be drawn in place of solid colors :)



Next thing u need is:



& http://i406.photobucket.com/albums/pp148/DarkShadowWing/colorscheme .png


(DELETE the extra space in "colorscheme .png") I only put it there because the colorscheme image is SO small, ull have a hard time trying to download it. So, delete the space, then go to the above link. then go to File => Save as => then save the image :)



Finally, here's the new skeleton.bb:







Will update it to work with ur new fixed version after work :)



Thanks, Ozzi & enjoy! :)

Last edited 2012


Guy Fawkes(Posted 2012) [#50]
U like, Ozzy? :)


ozzi789(Posted 2012) [#51]


well if you understand transparency like this, thats no problem to programm, i thought like 50% transparency and so on


il make a flag for createwindow so it looks like this if you want

Last edited 2012


Ross C(Posted 2012) [#52]
That will be a nightmare though. What if you have a dark/black backround? Good work on the GUI though!


Guy Fawkes(Posted 2012) [#53]
Yea, that will work :) Also, then that's ur fault, ross :) ull simply have to like ozzi says, make a flag, for whether or not u want my wireframe windows, OR if u want ozzi's 1-color windows :)


Ross C(Posted 2012) [#54]
Or, what if you have text in the backround? Or a picture? The GUI will be unusable. A strange mode indeed.


Guy Fawkes(Posted 2012) [#55]
Again.... that's ur fault then :)


SystemError51(Posted 2012) [#56]
It might be interesting if you can implement something like a blur-effect on the windows, so they stand out from the rest. On 50% transparency with black color (or anything you want, really) - that might look pretty cool.


Guy Fawkes(Posted 2012) [#57]
I agree. but the image MUST be partially transparent :)


ozzi789(Posted 2012) [#58]
thanks for the compliment ross

i think i will use draw3D v2 for my guy.. then i will have transparent window (also gradients between) and all will be faster ;)

il keep you updated


Guy Fawkes(Posted 2012) [#59]
YAY! =D


Guy Fawkes(Posted 2012) [#60]
Ozzi, how's it going? :)


Guy Fawkes(Posted 2012) [#61]
Ozzi, u got an update yet?! :D


Guy Fawkes(Posted 2012) [#62]
Cmon', Ozzi, mate. We need an update! =D


Guy Fawkes(Posted 2012) [#63]
Ozzi, hows it goin'? :)


GfK(Posted 2012) [#64]
Ozzi, how's it going? :)


Ozzi, u got an update yet?! :D


Cmon', Ozzi, mate. We need an update! =D


Ozzi, hows it goin'? :)


Your crazy stalking has frightened him away.


Guy Fawkes(Posted 2012) [#65]
GFK, Go hijack another thread. Im DONE with u. U WILL not upset me. ESPECIALLY on my birthday. Have a good day :)


Ross C(Posted 2012) [#66]
Why not email him directly? There's no pointing in bumping an old thread with no new information. He'll post updates when he has written them i guess.


Guy Fawkes(Posted 2012) [#67]
I don't know his email, or I would


Steve Elliott(Posted 2012) [#68]

Why not email him directly?



I'm sure he'd love that lol. ;)


He'll post updates when he has written them i guess.



Exactly. Leave the poor guy alone. Maybe he's busy with other things.

Last edited 2012


Kev(Posted 2012) [#69]
intrestinng ozzi789 coming along well, however the wireframe? kills it rethink this i would say.

@Gfk, overpowerin to say the least.

Last edited 2012


Guy Fawkes(Posted 2012) [#70]
Wireframe is for ppl who want transparent images as their borders and backgrounds, as opposed to non-transparent images.


RemiD(Posted 2012) [#71]
Gfk>>You should write a book with you best lines. :D


Ginger Tea(Posted 2012) [#72]
I can see it now

"This one was done using a helix ruler from WHSmiths"


Guy Fawkes(Posted 2012) [#73]
Queen GingerTea, please keep ur comments to urself :) Same thing with u GFK, and u RemCoder. This thread is for ppl who are SERIOUS about OZGui.


Ginger Tea(Posted 2012) [#74]
But you never saw GFK's red crayon in mouth, that was the straightest thing I've seen since Dale Winton :p

OT
The wireframe kinda looks OK providing you have the right background, but that line that goes from the close box just makes it ugly


Guy Fawkes(Posted 2012) [#75]
Yea, I can agree with that. :P Wireframe is for those who want transparent DDS, or PNG images for borders! :)


Ross C(Posted 2012) [#76]
OZ GUI is a 2d GUI. You can't have transparency, and you certainly can't use DDS. With standard Blitz3d, the 2d drawing is either fully opaque, or not drawn at all.


Guy Fawkes(Posted 2012) [#77]
o u can with the Windows API :)


Ross C(Posted 2012) [#78]
I'd genuinely like to see an example of blitz 3d/2d drawing transparent windows please.


Steve Elliott(Posted 2012) [#79]
Blitz3D can do transparent windows easily.


Ross C(Posted 2012) [#80]
It's in 2d though. The code only uses 2d draw commands and such.


Steve Elliott(Posted 2012) [#81]
Why lol? ;)


Ross C(Posted 2012) [#82]
I dunno! That's why I am eager to see an example of this transparency, using blitz2d and the windows API.


stayne(Posted 2012) [#83]
The "posted on" dates above don't make sense chronologically. Bug? Check out posts #65-#82.


Guy Fawkes(Posted 2012) [#84]
Thats odd, Stayne. ur right...


Ginger Tea(Posted 2012) [#85]
first of the month forum bug
nothing new


Ross C(Posted 2012) [#86]
Thundros, could you please post code of the windows api producing semi transparent windows, using the 2d graphics mode in blitz3d?


stayne(Posted 2012) [#87]
I WOULD if I HAD the code but its gone and oh yeah so I WONT POST it. U don't deserve it anyway! Get out of this thread Ross C u r not wanted here!!!1one

This is YOUR Last WARNING! O Btw Thanks to everyone else here who is NICE :)


Ross C(Posted 2012) [#88]
Happy Birthday stayne!


GaryV(Posted 2012) [#89]
All third-party GUIs meet the same fate. OZ GUI seems to have met it sooner than most. :(


TaskMaster(Posted 2012) [#90]
GUI's are tough to write in a manner that pleases everybody. Each individual wants their own features from some other GUI they saw. I see the same thing with mine, people asking for one feature or another that I don't think should be part of it. I try to help them see that they have the source and can add the features they want, but many of them expect the original author to do it for them.


Dabhand(Posted 2012) [#91]

I try to help them see that they have the source and can add the features they want, but many of them expect the original author to do it for them.



Thats what happens when people pay for stuff... They see X and Y... But they wont be happy until they have Z too, then, if you say "I'm not going to do it, but, you can implement it, this is how you do it"... Immediately, they go on the back foot and as soon as they see a topic about it, they'll hammer it, regardless if the software is the best thing since sliced bread!

Way of the world see!

I think ifsoGUI is great as it is BTW! ;)

Dabz


GaryV(Posted 2012) [#92]
I think ifsoGUI is great as it is BTW! ;)
Wow, I didn't know that one was still around...


Steve Elliott(Posted 2012) [#93]
As far as I'm concerned, it's either a case of going with Windows GUI or write a GUI for your particular game.

I would take writing a GUI for your particular game everytime. Unless it's a utility program.


ozzi789(Posted 2012) [#94]
Hi guys
Wow thats a load of offtopic!
Im back, i had to study for my final exams, and forgot about you guys, sorry :(
OZGui is still an active project, dont worry!
About the 3D Support, since it is a imensive task to rewrite the render functions with draw3d, i wont implement that...
If there are any other desires, just tell me, il be glad to give support & implement new stuff

Greetings
ozzi

Last edited 2012


Guy Fawkes(Posted 2012) [#95]
Hi Ozzi. If u could use my wireframe code above to allow for transparent images instead of all non-transparent backgrounds for the windows and GUI tools, that would be GREAT! :)


Captain Wicker (crazy hillbilly)(Posted 2012) [#96]
Hi,

Is this GUI customizable? Can I change the default looks of the images used in the picture above?


ozzi789(Posted 2012) [#97]
Thundros, will enable a flag that allows wireframe mode!

Captain Wicker, you may easily change all the buttons (they are png's)
The colors are customizable via one single bmp, where all pixels represent the different gui parts, please see the documentation for more details on customizing :)


Captain Wicker (crazy hillbilly)(Posted 2012) [#98]
Just tried it and NICE!!! :D


Guy Fawkes(Posted 2012) [#99]
Cheers, Ozzi! :)


ozzi789(Posted 2012) [#100]
@Captain wicker
Glad to hear, feel free to ask if you need help :)



@Thundros


Press the Wireframe button on the window in the left lower corner to toggle wireframe (it is controlled by a global variable wireframemode (see skeleton.bb))

Just use the link in the first post, package was updated (replace functions.bb in OZGUI)

Oh, i know im too late, but happy birthday!

Greetings, ozzi

Last edited 2012


Guy Fawkes(Posted 2012) [#101]
@Ozzi, this is amazing! =D Now is there a way we can add transparent images to it using some kind of plugin?


Ross C(Posted 2012) [#102]
No, because it uses blitz2d. You'll have to move the entire thing to a 2d in 3d system, as explained previously.


Guy Fawkes(Posted 2012) [#103]
I protest that. theres GOT to be a way to load Transparent PNGs into Blitz.


Guy Fawkes(Posted 2012) [#104]
I protest that. theres GOT to be a way to load Transparent PNGs into Blitz.


Guy Fawkes(Posted 2012) [#105]
sorry bout the double post. the forum just glitched up on me... ><


Ross C(Posted 2012) [#106]
Protest all you want. This is done in blitz, using the 2d commands. The pixels are either drawn 100% opaque, or they are not. That's masking. There's no in between. If you need semi transparent, then use blitz 3d commands. You would have to rewrite most of the code though.


ozzi789(Posted 2012) [#107]
Or use read/writepixelfast to create transparency, but even on newer systems @ 1024x768 and bigger it will be very cpu hungry


Ross C(Posted 2012) [#108]
IF the windows are stationary, and can't be moved around, and your backround was stationary, you could create a transparent backround when the window is shown on the first frame. It wouldn't update though, and you would have a small pause whenever the window was opened.

Can I modify the source of this to include this feature?


ozzi789(Posted 2012) [#109]
Feel free to do that :)
Post the result!


Ginger Tea(Posted 2012) [#110]
The wire frame mode is without those ugly extra bars :) yay.


Guy Fawkes(Posted 2012) [#111]
Ur welcome for the idea, Ginger Tea :)


Guy Fawkes(Posted 2012) [#112]
Hey, Ozzi :) Can u make the ability to type better? For some reason sometimes, if I type something in a box too fast, I have to hit the same key I just typed twice, instead of once. Also, can u add Caps Lock support?

Thanks, Ozzi! :)


Captain Wicker (crazy hillbilly)(Posted 2012) [#113]
Ozzi, This is one of the most customizable and flexible GUIs i have ever stumbled across. Keep up the good work! :)


ozzi789(Posted 2012) [#114]
Thundros, i am not able to reproduce the bug with the typing..
Since im using a simple get_key it maybe is your keyboard?

Also welcome Capslock Support on Board!
If Capslock is active, all Latin Chars from a-z will be written big!


Instructions:

-Add following to your user32.decls in your userlib folder (create a new one when not there):
.lib "user32.dll"
GetKeyboardState%(Key*):"GetKeyboardState"
SetKeyboardState%(Key*):"SetKeyboardState"

-Download the link above and replace skeleton.bb and OZGUI\functions.bb



@Captain Wicker
Thank you!
Please tell me if you need any new features :)


Captain Wicker (crazy hillbilly)(Posted 2012) [#115]
It would be wonderful to see a way to use serial activation in the apps. Can you try to do something like that where the coder can make a serial number and integrate activation into games and stuff.


Guy Fawkes(Posted 2012) [#116]
Thank You, Ozzi! :) and yes, PLEASE do make a serial activation thing! :D I've been waiting for that one for a LONG time too! :D


ozzi789(Posted 2012) [#117]
Well how secure shall it be?
In order to be secure you would need to host some kind of activation server..

But im thinking about something else


ozzi789(Posted 2012) [#118]
http://blitzbasic.com/codearcs/codearcs.php?code=2922

here somebody already built something very nice, check it



edit:
ok i got a bare conept
create a md5 (+salted) password database, and run a encryption of your choise over it, then use
http://blitzbasic.com/codearcs/codearcs.php?code=2952
to download the database.
now let the user input the serial, make a hash out of it, encrypt the db , check if there is a match, delete the db


use generate_key for serial key generating.

Function generate_key$(length%)
	For i=0 To length-1
		Select Rand(0,2)
			Case 0
				key$=key$+Chr(Rand(48,57))
			Case 1
				key$=key$+Chr(Rand(65,90))
			Case 2
				key$=key$+Chr(Rand(97,122))
		End Select 
	Next
	Return key$
End Function 




Function random_getenv()
	Return (text_to_number(GetEnv("PROCESSOR_IDENTIFIER"))+text_to_number(GetEnv("NUMBER_OF_PROCESSORS"))+ GetEnv("COMPUTERNAME"))
End Function 



good luck

Last edited 2012


Guy Fawkes(Posted 2012) [#119]
Yo Ozzi, how's the GUI coming? :)


ozzi789(Posted 2012) [#120]
im not adding any features, and since nobody is reporting bugs, im not working on it at all ;)


Guy Fawkes(Posted 2012) [#121]
..................


Guy Fawkes(Posted 2012) [#122]
I'll test it more if you continue its work. NEVER give up =)


GfK(Posted 2012) [#123]
Yo Ozzi, how's the GUI coming?

..................

I'll test it more if you continue its work. NEVER give up =)


Quit hounding the guy. He already said, and I quote "I'm not working on it at all".


Guy Fawkes(Posted 2012) [#124]
Quit hijacking my posts. LEAVE ME ALONE


Guy Fawkes(Posted 2012) [#125]
Ozzi, I'm still interested in the GUI :)


RGR(Posted 2012) [#126]
You must understand this GfK ;-)
Banned in the Nuclear Basic Forums (he is there as Link) he's back to Blitz ...
Actually one of the reasons he is banned there is because he steals code from Blitz3D Codearchive - tries to convert it to NB and wants to show off what a great programmer he is.
Unfortunatly he has never managed to convert a code snippet on his own. He's only crying for help as he does here ...

Last edited 2012


RemiD(Posted 2012) [#127]
RGR>>If you think about it, we have all learned to code from some others coders, and in a way we have absorded some of their knowledge and style.

But i think i understand what you mean.


Ginger Tea(Posted 2012) [#128]
I'm still wondering about the show stopping bug meantioned before the server move (that deleted post 125-130)


Ginger Tea
(Posted 1 week ago) #125

I took Ozzi's post to mean either
A> it was feature complete and anything else to add was just feature creep fluff that could be added by the user or was not really needed thus not worth adding.
B> The lack of bug reports meant it was either stable (again feature complete) or hardly anyone tested it and perhaps gave a high indication of a low demand of his product and chose to abandon it.

Either way, what is out there ATM is what is out there and will not be updated this side of the appocolapse.




TaskMaster
(Posted 1 week ago) #126

I agree with Ginger here. If you were to find some sort of bug, I would bet that Ozzi would look at it and possibly fix it. Especially since he is likely using the GUI himself.




Thundros
(Posted 1 week ago) #127

I know of a big bug, Ozzi. When I type, sometimes I have to hit the key many many times before it registers the key I chose to type.

Last edited 1 week ago




Ginger Tea
(Posted 1 week ago) #128

That's kind of a show stopping bug right there and you are only bringing it up to the table now?

If you were a guy I (unfortunatly) know IRl I would be chanting "Nehoddy nehoddy nehoddy" over again as that's his thing, with holding what could be vital information.

That or the edit is telling ...




TaskMaster
(Posted 1 week ago) #129

LOL

I would have to bet that you are doing something wrong. As a bug like that is a show stopper and would have been noticed.

I am sorry that I have never used this GUI, so I can't help you sort out your problem. Does it come with a sample app? If so, does the sample app have this problem? Maybe you are in a loop or something and not giving the GUI time to do it's thing?




Thundros
(Posted 1 week ago) #130

No lol. But I can make a sample for you guys :)



edit:
Further to my comment from the old server, this is from post #1

ozzi789
(Posted 10 months ago) #1

I want to present you my newest project called OZ GUI.
I have been working on it for about a month and i now would call it finished (doesnt mean i wont make bugfixes or so on)



So bug fixes and feature creep aside, this was classed as finished by Ozzi 10 months ago right on post #1

Last edited 2012


Guy Fawkes(Posted 2012) [#129]
I wasn't banned for that over there. You have no IDEA what I was banned for. Nor WILL you. Besides. It's only temporary ;)


RGR(Posted 2012) [#130]
I know why - most people at Nuclear know why
One reason: Using code of other users and "making it better" - actually messing it up and putting it as your work into the codebase. What makes the codebase an uncertain collection of crappy unusable code!
You were also temporarily banned for rudeness ... the same rudeness you show here with rather every second post if people don't immediately react on your crying for coding help ...
So a lot of mistreating the AUP of the NB Forums ...

Hope you have learned from that!

Last edited 2012


Guy Fawkes(Posted 2012) [#131]
Nope, you obviously DON'T know why, cuz' those are NOT the reasons. AT ALL.

You will NEVER know.


Yasha(Posted 2012) [#132]
In fairness, you can't really "steal" from the Blitz code archive since it is all public domain, or most of it is anyway. If you want to use archive code in NuclearBasic, that's perfectly legal and above-board.

'Course claiming to have actually written it would still be in poor taste.

Last edited 2012


Ginger Tea(Posted 2012) [#133]
To sucessfully translate between two languages (programming or spoken/written) one needs a good grasp on both to make things work or be understood.
Else you end up like that football managers translator who (maybe due to the cameras etc freaking him out) failed completely and translated a long sentance into "It's a game of two halves" and "I'm as sick as a parrot" and other football quotes.

But enough about that, how about the show stopping bug you touted before the server move deleted a few posts here?
Hint the posts are quoted in my post #128


Steve Elliott(Posted 2012) [#134]

To successfully translate between two languages (programming or spoken/written) one needs a good grasp on both to make things work or be understood.



Nobody has a problem when people translate code and improve it...but when you say you're gonna do it, fail miserably, then CONSTANTLY harass people that actually CAN do the job it's very annoying. Just post the code and ask can anybody translate this? Then let them try - or work hard and try and accomplish it yourself!


Ginger Tea(Posted 2012) [#135]
The Cinema Snob's Turkish Casper had a good google translate WTFery moment.

And I always translate back to English anything I'm checking out online (or ask a co worker who speaks the language if it is right assuming what ive googled is SFW, which tbh with me, it isn't)


Captain Wicker (crazy hillbilly)(Posted 2012) [#136]
he is there as Link

WAIT A MINUTE!!! Rez/Thundros is Link? That certainly explains a lot.

EDIT: sort of reminds me of a N3D version of puki. lol

Last edited 2012


RemiD(Posted 2012) [#137]
"Puki" is funnier than "Rez/Thundros"

Well tried "Captain Wicker Soft" but no.

;)


psychicbottle(Posted 2012) [#138]
I thought Puki was actually funny. he was more random than harmful haha very blunt though, i think that's ok though. On occasion he was actually useful too, quite a few times actually.


RemiD(Posted 2012) [#139]

I thought Puki was actually funny.


Yes that's what i wanted to say. Puki had an original way to express himself. (from the posts i have read)

So why he has been banned ? Anyone knows ?

Last edited 2012


Yasha(Posted 2012) [#140]
He was banned when one of his comments contained slightly more racism than the acceptable level (which is 0).

From the hints that have been dropped (because such is not really for the rest of us to speculate on) he could have come back if he'd been willing to apologise, but for whatever reason has not done so.


Ginger Tea(Posted 2012) [#141]
I thought it was a very strong string of homophobic comments.

I miss flameducks rather colourful metaphores and similies.


RemiD(Posted 2012) [#142]

He was banned when one of his comments contained slightly more racism than the acceptable level (which is 0).


Ok i understand. I haven't seen this comment.


Ginger Tea(Posted 2012) [#143]
it probably got deleted at some point.


psychicbottle(Posted 2012) [#144]
i wish he would come back still...


Krischan(Posted 2012) [#145]
Interesting to see how ozzis thread got finally hijacked by violating a basic internet rule: don't feed the trolls.




Guy Fawkes(Posted 2012) [#146]
Besides, it's none of your bloody business why I got banned.


Ross C(Posted 2012) [#147]
Puki wasn't a nice person. Trust me.


ozzi789(Posted 2013) [#148]
wow what did i miss? :D


virtlands(Posted 2013) [#149]
Hi Ozzie789,
I'm really fascinated by GUIs of all sorts.
I just now downloaded and ran your OZ 'skeleton' code.

Good luck on this. When I have more time, I'll try to understand your code.


Guy Fawkes(Posted 2013) [#150]
Yea, Ozzi. I srsly think you should finish where you left off! There's more ppl than just me who want to see this finished! =)


Ginger Tea(Posted 2013) [#151]
Am I the only one who read in post one that it was considered finished already and anything else added since then was more feature creep and fluff save for multiple system testing/bug fixes.


Guy Fawkes(Posted 2013) [#152]
Yes Ginger Tea, yes you are the only one. IT'S ALL BECAUSE OF YOU! O_O

XD


Krischan(Posted 2013) [#153]
Argh a troll. Oh wait, that's not my Oblivion window =D

Ginger Tea, the problem is that ozzi initially wrote "WOULD call" which is conjunctive and implies that - who knows? - in a far future or an alternate timeline or universe there MAY be an improved version (analog a Dumb+Dumber quote: "What are the chances for a new version? - I'd say more like one out of a million. - So you're telling me there's a chance!")

In any case somebody must wait for this to happen - in the worst case forever (which is an individual destiny). But wait, there is still a chance! Ozzi included the source! What a luck! So somebody else COULD (which is again conjunctive!) add the features requested by dozens of ppl! I wonder who signs up for this quest to make so many ppl happy? You could earn 200 gold, 1000 XP and gain a level up!

Beside that - I have to finish my next quest. I violated my own troll rule with this posting but I couldn't resist =D


Cruis.In(Posted 2013) [#154]
I am using IFSOGUI and it works great. I even did a skin for it. I am not sure if its good because Markus didn't give me his opinion on it. Which means it was either really bad, or he didn't want to hurt my feelings lol.

But ifsogui is great. Fully functional right out of the box, you've got the source and well even AS IS it is great. What more could you want from a 2d gui for a 2d game? :)

damnit after reading through this long thread I only remembered where it was when I posted, plus after all the crap in here.....thundros.....I thought it was a discussion thread, did not mean to hijack.

There's plenty guis out there, if you want one so badly why are you hawking on this one?


Ginger Tea(Posted 2013) [#155]
I'm at a loss to see where he thinks it's been abandoned in an unffinished state to never see the light of day.
I've commented on the fact that Ozi considered it finished on post #1 a year ago now (a whole bloody year it's been 'done') and was only looking to fix bugs or add features that would benefit all users, all other niche requirements would be added via the end user with access to the source code.

AFAIK he has not taken down the download, so what is out there is out there in a working state and without knowing what Rez is after feature wise, it might not even be GUI related.

Hell there was a side quest to add a login feature, granted there is a login box in the first post screen shot, but that could just be a dummy text box and you the end user supply the code for that as TBH salted hash tabled md5 malarky, that isn't GUI stuff, that's OS/program stuff.


ozzi789(Posted 2013) [#156]
In my eyes its finished as it works great, and has a decent range of objects to use. (and i didn't find any further bugs)
Have fun crawling through the code Ginger Tea :)


Guy Fawkes(Posted 2014) [#157]
Hi all! :) Does someone still have a copy of this?

Thank You!


Guy Fawkes(Posted 2014) [#158]
Can anyone please assist? Thanks!


ozzi789(Posted 2014) [#159]
Here you go:
https://www.dropbox.com/s/umqk53lh2vbbptj/OZGUI.zip


Guy Fawkes(Posted 2014) [#160]
Thanks ALOT, Ozzi! :D


Guy Fawkes(Posted 2014) [#161]
Hey Ozzi, I remember this having an unlimited amount of tabs ability. Do you think you can either add that real quick or find the version that had that?

This is the post you mentioned it in.

http://www.blitzbasic.com/Community/post.php?topic=96915&post=1127690

It creates tabs the size of the window the tabs are in, then if it goes beyond that, it adds a left & right arrow button to the right-top, middle-top, or left-top of the tabber menu.

Other than that, thanks again Ozzi! :)