[Gambas-devel] V4L2 for Gambas ...

Gareth Bult gareth at ...560...
Wed Jan 21 14:59:18 CET 2009


>Go on...

Ok, will do .. (when I can run Gambas up again .. I'll try a clean checkout ..)

>I think that Ron_1st wanted to say, in his mail, that you can use subclasses 
>just for grouping device properties.

Mmm, but that doesn't necessarily help you when you come to "use" the component ... 

To be realistic, if this was useful you would have;

component.dimensions.width
component.dimensions.height
component.dimensions.top
component.dimensions.left 

Would we not?

... yet we don't .. (!)

;-)

Gareth.

----- Original Message -----
From: "Benoit Minisini" <gambas at ...1...>
To: "mailing list for gambas developers" <gambas-devel at lists.sourceforge.net>
Sent: Wednesday, 21 January, 2009 11:35:10 AM GMT +00:00 GMT Britain, Ireland, Portugal
Subject: Re: [Gambas-devel] V4L2 for Gambas ...

On mercredi 21 janvier 2009, Gareth Bult wrote:
> Ok,
>
> So we never improve on what's there?
> In which case we never improve Gambas?
>
> I think I know why it is like it is, it was mirroring the underlying V4L
> code which broke those properties off into a sub-structure. However, the
> V4L developers obviously realised this didn't make sense and now these
> properties are all returned by a "flat" ioctl get call. (as of V4L2)
>
> What's there is a great start, however as V4L code it's incomplete and it
> doesn't support V4L2, which is required for newer cameras. This is not a
> criticism, this is just what was produced with available resources - which
> is great. However if I don't (a) fully understand why it was done that way
> and (b) get consensus on modifications, I may end up making changes that
> are incorrect and unwanted.
>
> Given I'm essentially looking to change available properties on an existing
> component - would you not rather I be sure I'm doing the right thing before
> committing the code / work ? (Not least given this is my first attempt with
> Gambas components?)
>
> Gareth.
>

I don't understand why it was done this way too. If you want to put all the 
device properties in the main class, I see no problem with that. Go on...

I think that Ron_1st wanted to say, in his mail, that you can use subclasses 
just for grouping device properties.

Regards,

-- 
Benoit Minisini

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Gambas-devel mailing list
Gambas-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel

-- 
Managing Director, Encryptec Limited
Tel: 0845 5082719, Mob: 0785 3305393
Email: gareth at ...560... 
Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request.




More information about the Devel mailing list