Author Topic: CocoaTouch  (Read 15291 times)

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
CocoaTouch
« on: 2009-Aug-12 »
Here some Impressions of my work...
Code: GLBasic [Select]
// --------------------------------- //
// 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]
« Last Edit: 2009-Aug-12 by trucidare »
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10661
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: CocoaTouch
« Reply #1 on: 2009-Aug-12 »
Awesome.

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: CocoaTouch
« Reply #2 on: 2009-Aug-12 »
Hardwork, but easy to set up a new Window. Didnt use GLBASIC_HWND().

MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4971
  • O Rly?
    • View Profile
Re: CocoaTouch
« Reply #3 on: 2009-Aug-12 »
N1
I <3 DGArray's :D

PC:
AMD RYzen 7 1700 @3.9Ghz, 16GB HyperX Fury 2666Mhz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline Uncle

  • Mr. Drawsprite
  • **
  • Posts: 75
    • View Profile
    • www.urbaninteractive.net
Re: CocoaTouch
« Reply #4 on: 2009-Aug-12 »
Cool, Cool, Cool :)

Offline doimus

  • Dr. Type
  • ****
  • Posts: 284
    • View Profile
Re: CocoaTouch
« Reply #5 on: 2009-Aug-12 »
AMAZING!  :good:

MrTAToad

  • Guest
Re: CocoaTouch
« Reply #6 on: 2009-Aug-12 »
I presume you can get access to the OS API then ? :)

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4971
  • O Rly?
    • View Profile
Re: CocoaTouch
« Reply #7 on: 2009-Aug-12 »
Yepp, he can made it ;)
I <3 DGArray's :D

PC:
AMD RYzen 7 1700 @3.9Ghz, 16GB HyperX Fury 2666Mhz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: CocoaTouch
« Reply #8 on: 2009-Aug-12 »
Two more...



[attachment deleted by admin]
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Offline doimus

  • Dr. Type
  • ****
  • Posts: 284
    • View Profile
Re: CocoaTouch
« Reply #9 on: 2009-Aug-12 »
Bloody Hell! Native keyboard in iGLB - this is beyond awesome!

Hatonastick

  • Guest
Re: CocoaTouch
« Reply #10 on: 2009-Aug-12 »
Very cool! :)

MrTAToad

  • Guest
Re: CocoaTouch
« Reply #11 on: 2009-Aug-12 »
Can you get access to the Speech system ?

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: CocoaTouch
« Reply #12 on: 2009-Aug-12 »
Can access to everything opened by Apple.

New screenshot... Recognizing NavBarbuttons and Label.



[attachment deleted by admin]
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10661
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: CocoaTouch
« Reply #13 on: 2009-Aug-13 »
 :nw: :enc:

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: CocoaTouch
« Reply #14 on: 2009-Aug-13 »
Two more

[attachment deleted by admin]
« Last Edit: 2009-Aug-13 by trucidare »
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC