Recent

Author Topic: Ribbon-like control for Lazarus  (Read 86444 times)

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 457
Re: Ribbon-like control for Lazarus
« Reply #15 on: June 17, 2011, 12:03:12 am »
Hi,

Nice component.

I can do the port but before start i'd like to ask spook if the code can published with a permissive license like MPL or LGPL modified (same as Lazarus/fpc)?

Currently it uses a custom license

JD

  • Hero Member
  • *****
  • Posts: 1910
Re: Ribbon-like control for Lazarus
« Reply #16 on: June 17, 2011, 01:20:13 am »
Hi,

Nice component.

I can do the port but before start i'd like to ask spook if the code can published with a permissive license like MPL or LGPL modified (same as Lazarus/fpc)?

Currently it uses a custom license

Great, let's roll.....    :D
Linux Mint - Lazarus 4.0/FPC 3.2.2,
Windows - Lazarus 4.0/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

spook

  • New Member
  • *
  • Posts: 18
Re: Ribbon-like control for Lazarus
« Reply #17 on: June 17, 2011, 07:22:11 am »
Hi,

Nice component.

I can do the port but before start i'd like to ask spook if the code can published with a permissive license like MPL or LGPL modified (same as Lazarus/fpc)?

Currently it uses a custom license

I think, that LGPL modified will do just fine, it's absolutly ok with me.

Best regards -- Spook.

JD

  • Hero Member
  • *****
  • Posts: 1910
Re: Ribbon-like control for Lazarus
« Reply #18 on: June 17, 2011, 10:32:31 am »
Hi,

Nice component.

I can do the port but before start i'd like to ask spook if the code can published with a permissive license like MPL or LGPL modified (same as Lazarus/fpc)?

Currently it uses a custom license

I think, that LGPL modified will do just fine, it's absolutly ok with me.

Best regards -- Spook.

That's very nice of you, Spook.
Linux Mint - Lazarus 4.0/FPC 3.2.2,
Windows - Lazarus 4.0/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

jixian.yang

  • Full Member
  • ***
  • Posts: 173
Re: Ribbon-like control for Lazarus
« Reply #19 on: June 17, 2011, 11:47:08 am »
Or, in our case, we didn't implement the Office UI, we create a new one, from scratch which "looks" like the Ribbon.
In my honest opinion, as it is already free to implement, without royalties, we shouldn't have any problem developing a component like the Ribbon.

Any lawyer here? ^^

The jury is supposed to make the final decision, no matter how smart the lawyer will be.

And even if it is legal, the Ribbon is not regarded as a modern enough interface.

« Last Edit: June 17, 2011, 11:49:04 am by jixian.yang »

Mando

  • Full Member
  • ***
  • Posts: 181
Re: Ribbon-like control for Lazarus
« Reply #20 on: June 17, 2011, 12:05:47 pm »
what is , in your oppinion,  a modern enough interface?



spook

  • New Member
  • *
  • Posts: 18
Re: Ribbon-like control for Lazarus
« Reply #21 on: June 17, 2011, 12:50:30 pm »
Check this out:

http://msdn.microsoft.com/en-us/office/aa973809

It seems, that not the ribbon idea itself, but the Office UI is licensed. Windows 7 provides builtin COM ribbon control, which can be used in applications and is not subject to Office UI licensing (at least according to the linked page).

My component's look was of course based on the Office 2007 UI. However it can be easily redesigned to look more like Windows 7's ribbon, what - I believe - will solve the issue.

And finally, we may simply ask Microsoft, if out initiative is subject to the Microsoft Office UI licensing. It would solve the issue, I believe :)

Best regards -- Spook.
« Last Edit: June 17, 2011, 02:33:32 pm by spook »

JD

  • Hero Member
  • *****
  • Posts: 1910
Re: Ribbon-like control for Lazarus
« Reply #22 on: June 17, 2011, 03:37:58 pm »
And even if it is legal, the Ribbon is not regarded as a modern enough interface.

I waiting for your examples of modern interfaces....
Linux Mint - Lazarus 4.0/FPC 3.2.2,
Windows - Lazarus 4.0/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

JD

  • Hero Member
  • *****
  • Posts: 1910
Re: Ribbon-like control for Lazarus
« Reply #23 on: June 17, 2011, 03:39:29 pm »
And finally, we may simply ask Microsoft, if out initiative is subject to the Microsoft Office UI licensing. It would solve the issue, I believe :)

En fin! That should put the controversy to rest.
Linux Mint - Lazarus 4.0/FPC 3.2.2,
Windows - Lazarus 4.0/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 457
Re: Ribbon-like control for Lazarus
« Reply #24 on: June 18, 2011, 02:14:52 am »
Hi Spook,

I started conversion and like to confirm some bugs (found with help of fpc compiler)

procedure T2DIntRect.Move(dx, dy: integer);
begin
  inc(left, dx);
  inc(right, dx);
  inc(top, dx);
  inc(bottom, dx);
end;

dy is not used here

should not be:
  inc(top, dy);
  inc(bottom, dy);

----

function T3DVector.Scale(dx, dy, dz: extended): T3DVector;
begin
  result.x:=self.x * dx;
  result.y:=self.y * dx;
  result.z:=self.z * dx;
end;

only dx is used. It's the intended behavior? If so, dy and dz can be removed from declaration

spook

  • New Member
  • *
  • Posts: 18
Re: Ribbon-like control for Lazarus
« Reply #25 on: June 18, 2011, 01:11:01 pm »
A copy'n'paste error, indeed. Shall be dx, dx, dy, dy and dx, dy, dz, respectively.

Best regards -- Spook.

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 457
Re: Ribbon-like control for Lazarus
« Reply #26 on: June 18, 2011, 02:10:26 pm »
Thanks.

BTW: can you post the source code of the binary demo you provided?

spook

  • New Member
  • *
  • Posts: 18
Re: Ribbon-like control for Lazarus
« Reply #27 on: June 18, 2011, 02:24:28 pm »

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 457
Re: Ribbon-like control for Lazarus
« Reply #28 on: June 18, 2011, 03:53:21 pm »
Hi,

I'm stuck with units SpkXMLParser and SpkXMLTools that are not present. Any chance publishing them?

spook

  • New Member
  • *
  • Posts: 18
Re: Ribbon-like control for Lazarus
« Reply #29 on: June 18, 2011, 04:15:07 pm »
Sure.

http://www.spook.freshsite.pl/Temporary/SpkXML.zip

I'd suggest however, that later the component shall be modified to use the standard XML libraries. Mine cover only a subset of XML standard and are no longer developed.

Best regards -- Spook.
« Last Edit: June 18, 2011, 05:04:43 pm by spook »

 

TinyPortal © 2005-2018