Jump to content

Recommended Posts

Posted

Is it possible to buy the Unigui source code of some components?

I am thinking to write some components of the 3D library GLScene to use with Delphi + Unigui. GLScene is a free library.

Do you know if any 3D library is available with the source code?

Posted
3 hours ago, Sherzod said:

Hello,

JS library?

Yes.  Actually I am trying to follow a suggestion I received last year about how to have a kind of "GLScene for Unigui". Please check this text

If you have the source of unigui i think the better should be make a wrapper of TGLSceneViewer like this"

Type
     TGLUniguiSceneViewe = Class(TUniGuiControl)  
    private
       FGLSCeneViewer : TGLSceneViewer;
    public // or in protected i don't say
       procedure Paint; override;  // Put GLsceneViewer paint in
       property GLSceneViewer : TGLSceneViewer Read FGLSceneViewer;
    end;

    or something like that (i think is the better way)

    Type
      TGLUniguiSceneViewer = Class(TUniGuiPanel)  
      private
         FGLSCeneViewer : TGLSceneViewer;

        procedure CreateGLSceneViewer;
      public // or in protected i don't say
        constructor  Create(AOwner: TComponent); override;
      published   
        property GLSceneViewer : TGLSceneViewer Read FGLSceneViewer;
    end;

procedure TGLUniguiSceneViewer.CreateGLSceneViewer;
begin
    FGLSCeneViewer := TGLSceneViewer.Create(Self);
   FGLSCeneViewer.Align := alClient;
    FGLSCeneViewer.Parent := Self;
    FGLSCeneViewer.Visible := True;
end;

constructor  TGLUniguiSceneViewe.Create(AOwner: TComponent);
begin
  inherited Create(AOwner);
  SetSubComponent(True);
 CreateGLSceneViewer;
end;

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...