![]() |
|
#1
|
||||
|
||||
Display filesystem to load a file and drawing an imageHi again, i had two new problems:
1. I want to draw a jpeg file in a box. How can i do it? Im doing this but it dosn't work. CPP / C++ / C Code:
2. How can i get a filesystem display window so i can give the choose of loading a file? Just like the browse... usually window. Thanks |
|
#2
|
||||
|
||||
|
Quote:
Hello and Welcome to GIDForums™ maveganzones. A few bits of information are needed.
Do you just want to show random pictures or some that you have in mind? We could whip up something like the attached image without much trouble. I have a dir full of playing cards that will work well. That way the dimentions are fixed and it will be easier to show the example. To get the image off disk you could use Fl_File_Chooser. Mark __________________
"Opportunity is missed by most people because it comes dressed in overalls and looks like work." --Thomas Alva Edison "Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety." --Benjamin Franklin "A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes." --Hugh Downs |
|
#3
|
||||
|
||||
|
Hi Cable_guy and thanks for the responses.
I have solved the problem about showing images in a box, but i dont know how the FL_File_Browser works. What I want its to load an image from a file of the user choose, can you help me with an example, please? I would thank you a lot. Greetings |
|
#4
|
||||
|
||||
|
I have fixed it with the Fl_File_Chooser widget. Im going to post a thread explaining how to use the Fl_File_Chooser widget and making some questions about it.
Thanks |
Recent GIDBlog
Toyota - 2008 November Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Airport Log program using 3D linked List : problem reading from file | batrsau | C Programming Language | 11 | 29-Feb-2008 08:44 |
| CD burner wont burn!! | robertli55 | Computer Hardware Forum | 1 | 18-Jun-2004 11:53 |
| Yet another CD burner problem: Lite-On LSC-24082K | Erwin | Computer Hardware Forum | 1 | 22-May-2004 12:28 |
| Re: Programming Techniques | WaltP | C Programming Language | 0 | 10-Mar-2004 00:56 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The