i have the executable files, now how to create the GUI
Posted: Mon Mar 16, 2009 12:15 am
				
				Hi everyone,
Firstly this is my first post and before i start i would just like to state that i am not just coming into the forum to demand scripts etc etc etc.
I am here to learn from those more knowledgable and experinced in programming languages.
I will be reading books and tutorials in order to gain the required information.
I WILL NOT be a pain in the ASS "scouts honour"
Ok so here goes.
This may seem somewhat random and a complete Newbie question.
As part of a free open source flight simulator we have tools under linux that can help create the terrain of the world.
Someone has gone to the trouble of converting the linux commands to run under windows.
However to get them to run we still need to run the command lines in the dos box.
It would be a whole lot simpler if there was a GUI that helped this for those people who have never touched command lines in their life.
Generally speaking the average Windoze user would have nightmares if faced with having to insert "code" into a window.
all the executables have been done, it just lacks for GUI.
examples of the present commands are as follows.
one such executable is called HGTCHOP.exe
where e\flighgear\terragear is the path to the executable 
hgtchop is the exe
3 is a resolution
N070W071.hgt.zip is the file to unzip
and
e:flightgear\work is the folder to unzip the contents too.
we then get this lovely lot pinging away
to give us some nice uncompressed files of data out the other end.
The HGTchop .exe is one of a number(20) of tools that are usable and i would need to create a GUI that could select one of them, and on selecting that particular one show any parameters or different options associated with.
ie. the hgtchop has the option to choose different resolutions by putting 1 or 3.
and another would say have the option of different line widths etc.
What documentation would be the best to read up on in relation to those examples i have provided.
Any help or pointers would be really appreciated. Like i say, i dont want people to "do it for me" theres nothing quite like that satisfaction of when the penny drops.
Any advice or pointers would be much appreciated
Sorry this first post is long.
Thanks Alex
			Firstly this is my first post and before i start i would just like to state that i am not just coming into the forum to demand scripts etc etc etc.
I am here to learn from those more knowledgable and experinced in programming languages.
I will be reading books and tutorials in order to gain the required information.
I WILL NOT be a pain in the ASS "scouts honour"
Ok so here goes.
This may seem somewhat random and a complete Newbie question.
As part of a free open source flight simulator we have tools under linux that can help create the terrain of the world.
Someone has gone to the trouble of converting the linux commands to run under windows.
However to get them to run we still need to run the command lines in the dos box.
It would be a whole lot simpler if there was a GUI that helped this for those people who have never touched command lines in their life.
Generally speaking the average Windoze user would have nightmares if faced with having to insert "code" into a window.
all the executables have been done, it just lacks for GUI.
examples of the present commands are as follows.
one such executable is called HGTCHOP.exe
Code: Select all
set PATH=e:\flightgear\terragear;%PATH% 
hgtchop 3 e:\flightgear\terragear\N07W071.hgt.zip e:\flightgear\workhgtchop is the exe
3 is a resolution
N070W071.hgt.zip is the file to unzip
and
e:flightgear\work is the folder to unzip the contents too.
we then get this lovely lot pinging away
Code: Select all
min = -252900,25650  max = -252450,26100 
start_x = 900  span_x = 150 
start_y = 150  span_y = 150 
array_file = e:\flightgear\work/w080n00/w071n07/1792078.arr.gz 
-71:7, 7:1 
width = 0.125 height = 0.125 
min = -252450,25650  max = -252000,26100 
start_x = 1050  span_x = 150 
start_y = 150  span_y = 150 
array_file = e:\flightgear\work/w080n00/w071n07/1792079.arr.gz 
-71:0, 7:2 
width = 0.125 height = 0.125 
min = -255600,26100  max = -255150,26550 
start_x = 0  span_x = 150 
start_y = 300  span_y = 150The HGTchop .exe is one of a number(20) of tools that are usable and i would need to create a GUI that could select one of them, and on selecting that particular one show any parameters or different options associated with.
ie. the hgtchop has the option to choose different resolutions by putting 1 or 3.
and another would say have the option of different line widths etc.
What documentation would be the best to read up on in relation to those examples i have provided.
Any help or pointers would be really appreciated. Like i say, i dont want people to "do it for me" theres nothing quite like that satisfaction of when the penny drops.
Any advice or pointers would be much appreciated
Sorry this first post is long.
Thanks Alex



 
  
 


