Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#26 7-Oct-2014 18:36:50

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Creating an app with an ide that can run os3d and other scol component

Yes that's it smile

Just an idea... maybe you could try to reduce the 3D window size in your plugit and put your window under it ?
you can acces the 3D window in V3DView structure

Offline

#27 7-Oct-2014 18:49:37

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,541
Website

Re: Creating an app with an ide that can run os3d and other scol component

arkeon wrote:

Yes that's it smile

Just an idea... maybe you could try to reduce the 3D window size in your plugit and put your window under it ?
you can acces the 3D window in V3DView structure


thx...How do I access the parent of the 3d window?

Offline

#28 7-Oct-2014 18:59:53

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Creating an app with an ide that can run os3d and other scol component

the parent window should be DMSWin

    let V3DgetSessionView c3dXsession -> viewstr in
		  V3DresizeView viewstr viewstr.V3D_iWinX viewstr.V3D_iWinY viewstr.V3D_iWinW viewstr.V3D_iWinH / 2;

but you should also redefine the windows resize callback on viewstr.V3D_win

Offline

#29 7-Oct-2014 22:08:13

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,541
Website

Re: Creating an app with an ide that can run os3d and other scol component

what would the code look like....

if the window I create is the following: (assuming the arguments have been defined)

	let _CRwindow _channel DMSwin 0 0 600 200 WN_TOPMOST|WN_NOSCOL window_name_value  -> thischildwindow in

what code would I need to to alter the dimensons of DMSWIN to allow the 3d window and other ui component (in this case a window) fit in it?

How can I control the attributes of the dmswin?

Last edited by hebdemnobad (7-Oct-2014 22:43:32)

Offline

#30 8-Oct-2014 01:02:44

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Creating an app with an ide that can run os3d and other scol component

there is a plugit misc main window
you should see all you need in it.

for example

let V3DgetSessionView c3dXsession -> viewstr in
(
  V3DresizeView viewstr viewstr.V3D_iWinX viewstr.V3D_iWinY viewstr.V3D_iWinW viewstr.V3D_iWinH / 2;
  let _CRwindow _channel DMSwin 0 (viewstr.V3D_iWinH / 2) viewstr.V3D_iWinW(viewstr.V3D_iWinH / 2) WN_CHILDINSIDE window_name_value  -> thischildwindow in
   ....
);

Offline

#31 8-Oct-2014 01:18:41

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,541
Website

Re: Creating an app with an ide that can run os3d and other scol component

arkeon wrote:

there is a plugit misc main window
you should see all you need in it.

for example

let V3DgetSessionView c3dXsession -> viewstr in
(
  V3DresizeView viewstr viewstr.V3D_iWinX viewstr.V3D_iWinY viewstr.V3D_iWinW viewstr.V3D_iWinH / 2;
  let _CRwindow _channel DMSwin 0 (viewstr.V3D_iWinH / 2) viewstr.V3D_iWinW(viewstr.V3D_iWinH / 2) WN_CHILDINSIDE window_name_value  -> thischildwindow in
   ....
);

Thx arkeon

Offline

#32 10-Oct-2014 18:48:10

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,541
Website

Re: Creating an app with an ide that can run os3d and other scol component

ok...this project won't be too hard as the current os3d player provides 99% of the functionality of what I envision.  I will just modify the .pkg dependencies of the os3dplayer.scol file a little bit without needing any ide save for bluefish.

Offline

Board footer

Powered by FluxBB