FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Hybrid now runs under Arclib Core

 
Post new topic   Reply to topic     Forum Index -> ArcLib
View previous topic :: View next topic  
Author Message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Sat Apr 25, 2009 8:19 am    Post subject: Hybrid now runs under Arclib Core Reply with quote

http://arclib.blogspot.com/2009/04/hybrid-now-runs-on-arclib-core.html

The Hybrid GUI has been ported to the Arclib Core from DOG.
The main issues in the process was deleting DOG and getting xf.input to run on top of SDL (thanks LeoD). In addition, I added input code to read in SDL's unicode characters. The only problem is that now when you type the backspace character, it inserts the backspace character instead of deleting text. The xf. imports were changed to arc.hybrid, as well. Besides calling

arc.window.open("Title", 800, 600, 0);
while(true){ arc.input.process(); arc.window.clear(); <--hybrid code--> arc.window.swap(); }
arc.window.close();

and renaming the imports, all the code should pretty much work the same. Here are the examples I have working so far.
http://svn.dsource.org/projects/arclib/trunk/examples/hybrid/

So, ArcLib now has a good GUI. Enjoy!


Last edited by clayasaurus on Tue Jul 21, 2009 10:12 pm; edited 1 time in total
Back to top
View user's profile Send private message AIM Address
zzzzrrr



Joined: 17 Feb 2007
Posts: 139
Location: Washington, DC

PostPosted: Sat Apr 25, 2009 2:49 pm    Post subject: Reply with quote

Good job, glad to see the library coming along nicely!

Now, the next step will be to port the Blaze testbed! That should prove to be a good test for arc.hybrid, and also give the Blaze examples additional stability and compatibility with ArcLib.
Back to top
View user's profile Send private message
Boscop



Joined: 26 Feb 2009
Posts: 29

PostPosted: Tue Jun 02, 2009 2:50 pm    Post subject: hybrid menus don't work Reply with quote

In my level editor I want to have some menus but they don't seem to receive mous click events once they are pulled down. So I can only pull down the top-level menus but no submenus and can't choose items.


BTW, I would've used hybrid directly but I couldn't get it to work flickerless with arclib. Does anybody know what needs to be done for that to work?
_________________
A programmer is just a tool to convert coffeine into code!
Back to top
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Tue Jul 21, 2009 10:11 pm    Post subject: Reply with quote

Try irc.freenode.net #team0xf and speak to Mr. H3r3tic
Back to top
View user's profile Send private message AIM Address
Boscop



Joined: 26 Feb 2009
Posts: 29

PostPosted: Wed Jul 22, 2009 7:24 pm    Post subject: Reply with quote

I did before, but the problem didn't happen with the normal hybrid, only with the arclib one.
_________________
A programmer is just a tool to convert coffeine into code!
Back to top
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Thu Jul 23, 2009 8:27 pm    Post subject: Reply with quote

I'll have to look into it when I get the chance, that is a weird problem :-/
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> ArcLib All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group