Here some Impressions of my work...
// --------------------------------- //
// Project: TryTest
// Start: Monday, August 10, 2009
// IDE Version: 7.073
REQUIRE "network.mm"
// Create new Popup
IMPORT "C" void GlbPopup(const char* title, const char* text, const char* firstButton, const char* secondButton);
// Get Pressed ButtonIndex (1,2)
IMPORT "C" int GetPopupState();
// CreateTextField
IMPORT "C" int GlbInitGUI();
// Create Button
IMPORT "C" void GlbButton(const char* caption, int x, int y, int dx, int dy);
// Check Button Action
IMPORT "C" int GetPressState(const char* button);
GlbInitGUI();
GlbPopup("Message...","This message was created with GLBasic \n One Line \n ;)","Cancel","Ok")
WHILE TRUE
Ret = GetPopupState()
IF Ret = 1 THEN foo("Cancel")
IF Ret = 2 THEN foo("OK")
SHOWSCREEN
WEND
FUNCTION foo: muh$
GlbButton(muh$,110,240,100,30);
WHILE TRUE
IF GetPressState(muh$)
ENDIF
SHOWSCREEN
WEND
ENDFUNCTION
[attachment deleted by admin]
Awesome.
Hardwork, but easy to set up a new Window. Didnt use GLBASIC_HWND().
N1
Cool, Cool, Cool :)
AMAZING! :good:
I presume you can get access to the OS API then ? :)
Yepp, he can made it ;)
Two more...
[attachment deleted by admin]
Bloody Hell! Native keyboard in iGLB - this is beyond awesome!
Very cool! :)
Can you get access to the Speech system ?
Can access to everything opened by Apple.
New screenshot... Recognizing NavBarbuttons and Label.
[attachment deleted by admin]
:nw: :enc:
Two more
[attachment deleted by admin]
How this finally gone?
Are you going to release it?
Would be awesome...
By the way where is this ==>> REQUIRE "network.mm"
so the network.mm file, can't find it in xcode or somewhere, i'd like to know how it's accomplished.
Can anyone hand me this network.mm ?
Cheers,
Jespar.
I wondered abut that myself. I did a search manually as well but could not find this file anywhere.
Clueless.
Mike R
network.mm aka CocoaTouch.mm is my objC source file for cocoaTouch lib for glbasic.
Not ready yet. Little problem with tableview, but the most things are working correctly.
So this is something you have written in xcode is it?
Cheers
Mike R
@trucisdare,
Could you probaly share the objective-c code for IMPORT "C" int GetPressState(const char* button); i would love to use functions of the iphone SDK itself within glbasic.
I could probaly also port a lot of the cocos2d framework.
How is the speed compared to for example mousestate functions within glbasic etc... ?
Thanks and cheers,
Jespar
no written with glbasic editor.
The function GetPressState is my function to check if a button created with cocoatouch was pressed.
speed = equal to objC code only.
This is totally awesome. Will you release commercial (please)? :good:
will be released as gbal / .a for easy use. under AGPL
Thank you. :good: Is this close to being released or is it still early days? =D
Any progress on this? Would love to have a look.
Mike R
trucidare seems really busy now that he has a full time job.
Ah ok. Thats a shame. I would have been willing to pay something for this. I guess I will keep my home designed keyboard.
Mike R
Thats a real shame, I was really looking forward to this release. I too would have paid for this. :)
iÃ,´m working on it, sorry guys for the long time to wait :(
Hope for a quick example for everyone. Including, buttons, tabbars and interactions.
:enc:
Did this lib ever get finished?
i hope ;)
one problem with tableViews :( they are not scrollable O.o
After solving this i can create a beta xcode project and glb lib
Do it!
Oooh sounds close! =D
Quote from: trucidare on 2010-Jan-14
i hope ;)
one problem with tableViews :( they are not scrollable O.o
After solving this i can create a beta xcode project and glb lib
:enc: :enc: :enc: :enc: :enc: :enc: :enc: :enc: :enc:
any news about this project?
no time for this project at this time - but its on my desktop - not in trash.
first mac ide
Whatever happened to this? Last update was more than a year ago. I would love to see this as would others.
Trucidare, if you never had time to complete, please consider posting it in it's existing state, maybe someone else will have time to get it the rest of the way where it needs to be.
Quote from: trucidare on 2010-Jan-14
i hope ;)
one problem with tableViews :( they are not scrollable O.o
In iPhone SDK tables can be very complex and get the data in a dynamic way. This can be implemented with an array or a function called when a new element needs to be created. Using an array for simple elements is more easy to use with GLBasic. Other table types can be developed later.