Recommended Posts

1 minute ago, Master_MTA said:

hi dude i created my own dx lib but i will take your update system is that okay with you?

@thisdp

As you wish :D

  • Like 1
  • Thanks 1

Share this post


Link to post
20 hours ago, thisdp said:

sry, it's my fault, updatedgs

But it seems there is still a problem. I will fix it later :D

Thank you

no problem. I'm glad i can help you while testing your awesome script. Keep it up ^_^

  • Like 1

Share this post


Link to post

@thisdp, could you check label properties? "clip" property doesn't work if current label has "colorcoded" property

Share this post


Link to post
2 hours ago, JeViCo said:

@thisdp, could you check label properties? "clip" property doesn't work if current label has "colorcoded" property

That is clearly claimed in dxDrawText

Share this post


Link to post
2 hours ago, thisdp said:

That is clearly claimed in dxDrawText

oh, i'm sorry :-D

Share this post


Link to post
16 hours ago, #_iMr,[E]coo said:

How relative elements ?

what do you mean?

Share this post


Link to post
24 minutes ago, thisdp said:

what do you mean?

I want to make the size of the painting suitable for measuring the screen

Share this post


Link to post
16 hours ago, #_iMr,[E]coo said:

I want to make the size of the painting suitable for measuring the screen

just like GUI

Share this post


Link to post
1 hour ago, #_iMr,[E]coo said:

Can I create a frame around the button?

outline?

Edited by thisdp

Share this post


Link to post
exports [ 'dgs' ]:dgsCreateTab ( '----' , DirectX.TabPanel [ '---' ] , _ , _ , _ , tocolor ( 26 , 23 , 21 , 241 ) , _ , _ , _ , _ , tocolor ( 208, 93, 0, 255 ) , tocolor ( 208, 93, 0, 255 ) )

Arg 6 <

kglWXj4.png

Edited by #_iMr,[E]coo

Share this post


Link to post
On 30/11/2018 at 13:04, ميدوح said:

ERROR: dgs\test.lua:151: attempt to call global 'dgsCreateMedia' (a nil value)

Give me your code

Share this post


Link to post
3 hours ago, #_iMr,[E]coo said:

Give me your code

😃 !!
dgs\test.lua

function mediaTest()
	local media = dgsCreateMedia(600,600)
	--local image = dgsCreateImage(200,100,400,400,media,false)
	dgsMediaLoadMedia(media,"liquicity.mp4","VIDEO")
end
addCommandHandler("mediaTest", mediaTest)

 

Share this post


Link to post

@ميدوح

- exports ?

- start "dgs"

DGS = exports.dgs	
browser = DGS:dgsCreateMediaBrowser(600,600) --[[Create a media browser ( CEF browser with my api )]]
img = DGS:dgsCreateImage(400,200,600,600,browser,false) --[[Create an image because media browser is a browser ( hmm... it is a kind of texture ) ]]
DGS:dgsMediaLoadMedia(browser,"test.webm","VIDEO") -- [[Give a video file ( Local video and only support .webm file for video and .ogg file for audio)]]
DGS:dgsMediaPlay(browser) --[[Now ! Let's get Higher!]]

 

  • Thanks 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.