It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am looking for a book that discusses about how to write a GUI libray.
Don't bother reinventing the wheel. It will probably end up being a square one.
Rather use widget APIs like Gtk+ or Qt. Both APIs allows you to create widgets which are drawn with OpenGL-enabled 'painters'. That means that you can use Qt and Gtk widgets just like usual, only within an OpenGL context. The whole process is completely transparent after the initial boilerplate code.
In terms of design you might want to look at the design patterns book. This uses the design of a Windowing system for many examples.
You might also want to refer to other OpenGL GUI libraries, e.g.
What is the best free cross-platform OpenGL GUI library for a video game?
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Well, in my application, you can select an image and put it in the form using opendialog. The problem is that the image won't be loaded, unless it's bitmap. So what do you suggest me to do?
Delphi 7 only supports bmp and jpg out of the box. To get wider image support you need to use a third party library. I recommend Mike Lischke's GraphicEx: http://www.delphi-gems.com/index.php/libs/graphicex-library
Based on the comments from the Andreas Rejbrand answers, I believe you should install the TGIFImage component. It supports Delphi7 and newer versions of Delphi.
Include the unit GifImage.pas to your project path from gifimaged2010b.zip, and add to your uses list. This will automatically add GIF in filters for openpicturedialog.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm going to start a pet-project, bringing this board game into web. For simplicity, imagine pvp chess instead.
I have very little expeirence with this kind of async programming. The only one - I wrote a simple chat with sinatra, using its streaming features.
I've got two closely related questions:
How should I organize game flow?
Should I store game-state in database? Or can I have a class, e.g. Game, and store everything in it? Second option sounds easier, and more natural, but is it possible to implement it in an application with client-server async nature?
How should client interact with server?
I'd like the board state to be updated in real-time. Is js EventSource the best option here?
Do I need anything beyond Sinatra application with its stream keyword? Do I need EventMachine?
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Has anyone tried to implement Numenta's most recent cortical learning theory (http://www.numenta.com)? I'm working on it and would like to share experience.
I think the ideas from Numeta are very promising. But as with any company that wants to make money they are not verbose enough about the technology so that one should be able to re-implement their system (at least from what I have seen so far). It is probably not in their interest that one could just rebuild the system from which they plan to make money.
Also their system is very general and complex. So unless you have a lot of experience with other kinds of neural networks and learning algorithms, I would not recommend experimenting with their ideas. First try to do Backpropagation and maybe some of the less advanced temporal learning until you are really familiar with that.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
how can i create custom interfaces in xcode 4? i've seen programs like Kaleidoscope (http://designshack.co.uk/images/designs/kaleidoscope-for-mac.jpg) using custom controls or something not available for drag and drop on xode.
any help? thanks
You'll get better help if you take the time to craft more specific questions.
Since you're speaking generally, I'll answer generally: Xcode 4 will not help you create custom interfaces (at least not beyond letting you edit the code to build them). This is done entirely in code.
Learn to draw with Cocoa then learn how controls and cells work, then ask specific questions when you don't understand.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I'm planning to make an application like google maps only to a city in my country.
I want to use XNA WP7, but I get a lot of problems here
Is it possible that I detect a road just by detecting colors on the map that I created?
or I must draw the line functions in XNA? and declare each point of the road?
second, whether I can control the image in XNA? how?
How do I get the position coordinate / pixel in the image rather than on the screen?
please give me an opinion, or give me a tutorial that relates to my project ..
Do you want to use Google Maps in particular, or can you use Bing Maps? If you can use Bing Maps, then there's a built in control that handles a lot of the hard work for you. You can download sample code on how to use the Bing Map control from here.