forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


DESIGN style: why not documented?
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Sep 29, 2003 7:42 pm    Post subject: Reply with quote

Well the interface of the existing one is nice now. I think we should
use the same interface. Just as an example of some of the things
I was thinking about adding in would be to have a new system for
styles and menus, where it would not be limited to the number of
edit/combo boxes on the dialog. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Mon Sep 29, 2003 7:45 pm    Post subject: Reply with quote

Also, a way to select and move/delete more than one dialog object at a time.
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Sep 29, 2003 7:49 pm    Post subject: Reply with quote

Good idea. Smile
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Sep 29, 2003 7:49 pm    Post subject: Reply with quote

... Maybe if we ask Commercial-Research they will give us some
basic code to start with. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Tue Sep 30, 2003 12:39 am    Post subject: Reply with quote

sounds like a good idea to make our own ide via open source...if i have the time i'd like to help

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Sep 30, 2003 1:30 pm    Post subject: Reply with quote

I also think we must make something that if people use the following, the designer doesn't give an error:

Code:
DIALOG CREATE,Nieuw Dialoog,-1,0,@sum(@screenwidth(),-50),160


I'm now making a program, and try to add this in. When I've done that, I'll give the code... Smile

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Tue Sep 30, 2003 1:33 pm    Post subject: Reply with quote

I'd love to lend a hand. Count me in! Very Happy
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Sep 30, 2003 1:46 pm    Post subject: Reply with quote

I can't make a subroutine which replaces a comma in functions, other that the DIALOG CREATE/ADD one, with a (!COMMA) or something.

Example:

Code:
dialog create,New Dialog,10,10,@fadd(50,50),100


If anybody knows a way to do it, please help me a bit.
Btw. It also should convert commas which are between double-quotes (") into (!COMMA), so that they won't be parsed as well... Smile

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Tue Sep 30, 2003 1:49 pm    Post subject: Reply with quote

Do you just mean a replace function to replace a comma "," with a !comma?
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Sep 30, 2003 5:44 pm    Post subject: Reply with quote

Yes, but only the commas in functions. That way I can parse all other dialog elements like this:

Code:
%1 = "DIALOG CREATE,New Dialog,-1,0,240,160,DESIGN,ONTOP"
  parse ";%%name;%%top;%%left;%%width;%%height;%%style1;%%style2;%%style3;%%style4;%%style5;%%style6;%%style7;%%style8;%%style9",%1
info The name: %%name


The name now is good, but if you use something like @fadd(), it doesn't show propper:

Code:
%1 = "DIALOG CREATE,New Dialog :: 99 + 99 = @fadd(99,99),-1,0,240,160,DESIGN,ONTOP"
  parse ";%%name;%%top;%%left;%%width;%%height;%%style1;%%style2;%%style3;%%style4;%%style5;%%style6;%%style7;%%style8;%%style9",%1
info The name: %%name


If somebody can change the comma in the @fadd(99,99) function into (!COMMA), I can use the parse function to parse everything, after which I can change the (!COMMA) back into a real comma... Smile

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Sep 30, 2003 6:59 pm    Post subject: Reply with quote

Julian, I'm wondering... As far as I am now (around 50%), my script only uses 22 kB... The 'real' Dialog Designer is using 150 kB... Any idea why the 'real' one is that much bigger? Confused
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Tue Sep 30, 2003 7:04 pm    Post subject: Reply with quote

Hey Skit. I'm trying to see if I can come up with something to replace the commas in functions. I'll let you know if I do.
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Sep 30, 2003 7:07 pm    Post subject: Reply with quote

Don't know about the reason for the extra size... but when we
make this keep in mind we don't want to use too much of the
processor. The other one takes a lot of CPU time.

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Protected
Valued Contributor
Valued Contributor


Joined: 02 Jan 2001
Posts: 228
Location: Portugal

PostPosted: Wed Oct 01, 2003 10:27 am    Post subject: Reply with quote

It sounds like an interesting thing. I can help you people if you want, although usually I edit the code manually nowadays:P Except when dealing with tabs and groups or massive amounts of editboxes, text elements and buttons. But even in those cases most of the times my dialog code has conditional commands and loops in the middle, as well as variables, so I couldn't edit it with the designer even if I wanted to. However, there are cases in which a better dialog designer could be useful. If you begin this open source project I think I'll add in my tile board creation routines from TBC Razz Also I think that if we make this it should have an option to chose between vds 3\4\5 so it would be compatible with all of these versions generating the code diferently (vds 3 doesnt have the HINT field in the dialog command for example) and restricting the usage of the elements that can't be used in vds 3 and 4 (I assume this program will be written in VDS 5).
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Protected
Valued Contributor
Valued Contributor


Joined: 02 Jan 2001
Posts: 228
Location: Portugal

PostPosted: Wed Oct 01, 2003 10:30 am    Post subject: Reply with quote

Quote:
Julian, I'm wondering... As far as I am now (around 50%), my script only uses 22 kB... The 'real' Dialog Designer is using 150 kB... Any idea why the 'real' one is that much bigger?


Does the real D.D. require the VDS runtime dll, or it is a standalone executable?
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group