Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
26 crawler(s) on-line.
 103 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 zipper:  14 mins ago
 pixie:  48 mins ago
 fatbob_gb:  1 hr 29 mins ago
 lewishamilton0998:  1 hr 36 mins ago
 amigakit:  1 hr 45 mins ago
 Hammer:  1 hr 48 mins ago
 Rob:  2 hrs 47 mins ago
 Musashi5150:  2 hrs 51 mins ago
 VooDoo:  2 hrs 56 mins ago
 agami:  4 hrs 16 mins ago

Software News   Software News : AVD Template Project v1.2.0.0 Released
   posted by JamieKrueger on 23-Nov-2005 7:04:28 (3485 reads)
An update to the FREEWARE AVD Template Project is now available. (now compatible w/GUI Builder)

AVD Template v1.2.0.0 provides a skeleton program in C source code
for building applications on OS4 and handles much of the work for you.
It gives you a good starting point of a ready to build and run AmigaOS4(tm)
application, and provides a well structured programming example as well.


This version is also directly compatible with the just released (to AVD
customers) version 0.11.0.4 of AVD's GUI Builder component. Using
the current (pre-release) GUI Builder you can create and modify the
ReAction GUI interface for your application using a 100% visual tool,
and then have it automatically generate the new sources directly into
the Template source tree.

You can check out the C source for the AVD Template Project itself
in a nice browser friendly format HERE

To download the Template or check out more about the GUI Builder or
AVD (Advanced Visual Developer) itself, see the website at:
www.bitbybitsoftwaregroup.com

Best Regards,

Jamie Krueger
BITbyBIT Software Group LLC
    

STORYID: 2711
Related Links
· More about Software News
· News by JamieKrueger


Most read story about Software News
UBoot 2010.06.04 for Sam460ex available

Last news about Software News
Hollywood APK Compiler 4.0 released
Printer Friendly Page  Send this Story to a Friend

PosterThread
AmiGame 
Re: AVD Template Project v1.2.0.0 Released
Posted on 23-Nov-2005 9:12:31
#1 ]
Elite Member
Joined: 23-Mar-2004
Posts: 3599
From: Peterborough, UK, Planet Earth (I think...)

Sounds great... So now it looks like I don't have any more excuses not to develop anymore !

Jerry


_________________
- AOS has been ported to ex-86 ! It's called AROS and WinUAE... Or E-UAE on Linux !

- A1XE-G4 up and runing with:
512MB Ram / 200GB and 80GB HardDisks on Sii0680.
AOS4 Final Update / AmiZilla 0.1 Alpha

 Status: Offline
Profile     Report this post  
hnl_dk 
Re: AVD Template Project v1.2.0.0 Released
Posted on 23-Nov-2005 10:04:41
#2 ]
Super Member
Joined: 25-Mar-2003
Posts: 1786
From: Denmark

Really nice

I would also hope that I could afford the FDSP, but I am not able to


_________________
Best regards,
hnl_dk - Henning Nielsen Lund [Denmark]

Please send no PM to me, email me if you want to contact me. See you somewhere else.

 Status: Offline
Profile     Report this post  
Toaks 
Re: AVD Template Project v1.2.0.0 Released
Posted on 23-Nov-2005 13:06:21
#3 ]
Elite Member
Joined: 10-Mar-2003
Posts: 8042
From: amigaguru.com

cool


_________________
See my blog and collection website! . https://www.blog.amigaguru.com

 Status: Offline
Profile     Report this post  
_PAB_ 
Re: AVD Template Project v1.2.0.0 Released
Posted on 23-Nov-2005 15:08:12
#4 ]
Regular Member
Joined: 20-Sep-2003
Posts: 189
From: Germany

This Template project is a very useful thing, IMHO.
I could take a look at how the Menus and Event handling are now with Raction in OS4.0
(many things have changed and are much easyer now as with OS3.9).


_________________

 Status: Offline
Profile     Report this post  
unimon 
Re: AVD Template Project v1.2.0.0 Released
Posted on 23-Nov-2005 20:45:43
#5 ]
Regular Member
Joined: 26-Aug-2003
Posts: 382
From: Switzerland

Sounds great !

Effectively now the developpers have no exuses for going on with applications developement

Unfortunately i'm not programmer but probably it is a very very useful tool ! So GO ON !

And nice job from the AVD Team !! Hip hip hip Hurray !


_________________
RedOneX (SAM 460ex) and an A1 which now rests quite.
Amiga OS 4.1.6 and CinemaWare games.
Classic and NG softwares.

 Status: Offline
Profile     Report this post  
Moxee 
Re: AVD Template Project v1.2.0.0 Released
Posted on 24-Nov-2005 2:02:06
#6 ]
Team Member
Joined: 20-Aug-2003
Posts: 6291
From: County Yakima, WA State, USA

Jamie Rules !


_________________
Moxee
AmigaOne X1000
AmigaOne XE G4
I'd agree with you, but then we'd both be wrong.

 Status: Offline
Profile     Report this post  
_PAB_ 
Re: AVD Template Project v1.2.0.0 Released
Posted on 24-Nov-2005 10:43:08
#7 ]
Regular Member
Joined: 20-Sep-2003
Posts: 189
From: Germany

Anyway: there seems to be a little error in the comment of creategui.c in the line:
Quote:

WINDOW_NewMenu, (struct NewMenu *)&pOSApp->oWindowMenu[0],
/* Since we are using the Menu's nm_UserData field to store custom Menu IDs, we need to tell the Window class to ignore them */
WINDOW_MenuUserData, WGUD_IGNORE,


The comment suggest we would use custom Menu IDs, which is at least not the case here, but the Menu IDs are just the ancient static IDs for old style Menus. Am I missing something ?
(I really would like to use custom Menu IDs, can someone tell me how I get the UserData field.)

Last edited by _PAB_ on 24-Nov-2005 at 10:43 AM.


_________________

 Status: Offline
Profile     Report this post  
salass00 
Re: AVD Template Project v1.2.0.0 Released
Posted on 24-Nov-2005 14:58:02
#8 ]
Elite Member
Joined: 31-Oct-2003
Posts: 2707
From: Finland

It uses the menu items' userdata fields to store the ids, this means that it doesn't need to rely on the oldstyle ids for anything else than finding the relevant menu item struct from the menu strip. At least this is the method I used in my xml menus program:
http://a500.org/index.php?s=downloads&f=eguidemo.lha
Judging by the comment you just quoted, AVD uses the same method.

Last edited by salass00 on 24-Nov-2005 at 02:58 PM.

 Status: Offline
Profile     Report this post  
JamieKrueger 
Re: AVD Template Project v1.2.0.0 Released
Posted on 24-Nov-2005 15:41:39
#9 ]
Regular Member
Joined: 20-Jun-2004
Posts: 147
From: From the BITbyBIT lab: USA

Quote:

Anyway: there seems to be a little error in the comment of creategui.c in the line:
Quote:

WINDOW_NewMenu, (struct NewMenu *)&pOSApp->oWindowMenu[0],
/* Since we are using the Menu's nm_UserData field to store custom Menu IDs, we need to tell the Window class to ignore them */
WINDOW_MenuUserData, WGUD_IGNORE,

The comment suggest we would use custom Menu IDs, which is at least not the case here, but the Menu IDs are just the ancient static IDs for old style Menus. Am I missing something ?
(I really would like to use custom Menu IDs, can someone tell me how I get the UserData field.)

What you are seeing in this case is the result of setting the code up
for handling Menus dynamically, including having the menus restored
cleanly between Iconify/Uniconify and hide interface/show interface
actions, only to have all my new style tests crash and burn. Since the
menus were simple and I did not want to hold up the release of this
update because of it, I set the ID system back and used the WINDOW_NewMenu
attribute.

This menu code will be revisited when I get a chance to add visual
menu creation in AVD's GUI Builder component. In the mean time,
sorry for the confusion.

Here are some references to what we are talking about :

From the "window_cl.doc" AutoDoc file:
WINDOW_MenuUserData (UWORD)
Like the WINDOW_GadgetUserData tag, but for menus. Using
this implies that WINDOW_MenuStrip has been created with
GadTools or otherwise has a 32-bit UserData field after
each menu item.

From: os_InitOSApp() - AVD Template sources

/* Menu -Item("Quit","q",MENUID_QUIT) */
pOSApp->oWindowMenu[6].nm_Type = NM_ITEM; /* (UBYTE) Menu Type (ie. NM_TITLE) */
pOSApp->oWindowMenu[6].nm_Label = "Quit"; /* (STRPTR)Menu's label */
pOSApp->oWindowMenu[6].nm_CommKey = "q"; /* (STRPTR)MenuItem's Command Key */
pOSApp->oWindowMenu[6].nm_Flags = 0; /* (UWORD) Menu or MenuItem flags */
pOSApp->oWindowMenu[6].nm_MutualExclude = 0; /* (LONG) MenuItem MutualExclude word */
pOSApp->oWindowMenu[6].nm_UserData = (APTR)MENUID_QUIT;
/* (APTR) For your own use (ID, Pointer to Hook Function, etc.) */

Also, check out the RKRM Libraries, p372, and point your SDK Browser at
Libraries->gadtools->libraries/gadtools.h for the definition of struct NewMenu
and the GTMENU_USERDATA() and GTMENUITEM_USERDATA() Macros.

Best Regards,

Jamie

Last edited by JamieKrueger on 25-Nov-2005 at 01:53 AM.


_________________
Jamie Krueger
BITbyBIT Software Group LLC
jamie@bitbybitsoftwaregroup.com
PLEASE NOTE: I only speak for myself and my company,
and am not a spokesperson for Amiga Inc.

 Status: Offline
Profile     Report this post  
_PAB_ 
Re: AVD Template Project v1.2.0.0 Released
Posted on 24-Nov-2005 19:21:09
#10 ]
Regular Member
Joined: 20-Sep-2003
Posts: 189
From: Germany

@Jamie:
Quote:
Since the menus were simple and I did not want to hold up the release of this update because of it, I set the ID system back

No problem, I was just wondering how the new style works and looked only in the Raction examples... will take a look at the proposed autodocs.


_________________

 Status: Offline
Profile     Report this post  
_PAB_ 
Re: AVD Template Project v1.2.0.0 Released
Posted on 24-Nov-2005 19:27:46
#11 ]
Regular Member
Joined: 20-Sep-2003
Posts: 189
From: Germany

Just a little remark:
in os_processevents.c.html this comment:
Quote:
} /* If sigwinmask */

should be three lines below, I guess.


_________________

 Status: Offline
Profile     Report this post  
JamieKrueger 
Re: AVD Template Project v1.2.0.0 Released
Posted on 24-Nov-2005 20:42:52
#12 ]
Regular Member
Joined: 20-Jun-2004
Posts: 147
From: From the BITbyBIT lab: USA

Quote:

Just a little remark:
in os_processevents.c.html this comment:
Quote:
} /* If sigwinmask */

should be three lines below, I guess.

Yep, side effect of the last update. Thanks.

I sure a great deal of the comments and
headers need some work.

Rest assured this is not the last version. :)

Best Regards,

Jamie


_________________
Jamie Krueger
BITbyBIT Software Group LLC
jamie@bitbybitsoftwaregroup.com
PLEASE NOTE: I only speak for myself and my company,
and am not a spokesperson for Amiga Inc.

 Status: Offline
Profile     Report this post  
SlimJim 
Re: AVD Template Project v1.2.0.0 Released
Posted on 24-Nov-2005 21:12:23
#13 ]
Cult Member
Joined: 9-Mar-2003
Posts: 693
From: Uppsala, Sweden

I've read the website, seen the screenshots. It looks great. Before deciding, it would be interesting to hear from some who are actually paying subsrcribers. Apart from the obvious benefit of supporting Amiga companies, is this worth to subscribe to?

I'm already positive to this, But $120 is a relatively non-trivial investment for me and I would also love to hear some comments from real users, and hear your impressions too.

Thanks,
SlimJim

 Status: Offline
Profile     Report this post  
Toaks 
Re: AVD Template Project v1.2.0.0 Released
Posted on 25-Nov-2005 3:26:05
#14 ]
Elite Member
Joined: 10-Mar-2003
Posts: 8042
From: amigaguru.com

slimjim: i'd say go for it, i did and i aint regretting it.


_________________
See my blog and collection website! . https://www.blog.amigaguru.com

 Status: Offline
Profile     Report this post  
[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle