Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / SilentS' WinSkin Library with BlueGui How it works and other Ideas about skinning.

Author
Message
Takis76
19
Years of Service
User Offline
Joined: 9th Apr 2005
Location: Greece
Posted: 20th Oct 2005 00:12 Edited at: 5th Jun 2006 01:20
Hi ,

I am working about a Futuristic game amd I want to create a lot of
windows with BlueGui library I purchased and I want to use it, and I am trying to skin everything in Bluegui windows.
All Gadgets Buttons entire window ,scroll bars ,buttons etc...

I found in the forums, somewhere here is a very good library from a user programmer with name "SilentS". his library is a starting point to make all BlueGui windows skinnable.

But I don't know how is working. There is no manual.

And I tried the example , I put some code in my game but only the main DarkBasic Pro window was skinned.

I tried to create a new window with the create window command.
like this one

my_first_window=createWindow(100,207,320,240,"",WINDOW_NORMAL,0,0,0)

I create one new window no main Darkbasic window I don't want to
change the main window , I want to left it in Black , like a full screen black desktop. (Can you understand what I mean)

Then I used this command

Set Window Skin "my_new_skin_win.bmp",255,0,255
after createWindow command
but this does not explain which window will be skinned on?

this function will be better if it will be changed with like thisone

Global my_first_window
my_first_window=createWindow(100,207,320,240,"",WINDOW_NORMAL,0,0,0)
load image "the_skin.bmp",1

and this function can be changed from this
Set Window Skin "the_skin.bmp",255,0,255
with this
Set Window Skin my_first_window,1

Set Window Skin (window_gadget,image_number)

It will be better. The problem is , I am new in darkbasic pro to change whole library yet.

I manage something I create my first window and then a put the set window skin command , everytime when I want to change my window skin
I am coerce to load the same image and the memory will be out of memory after a lot of set of skins in my game.

But only the shape of window changed. The skin not applied.

SilentS coult you help me or somebody could you help me how can
i change ths skins of windows , and the mouse pointer to and other
gadgets with this library or other library?

I have posted other one Message about the mouse.
There is not completely compatibility of BlueGui library with DarkBasic other command like
paste image over Bluegui windows , paste a new mouse over the
BlueGui windows?

Or in the future BluGui V3 will be skinnable. This will be a great
Idea. Like windowblinds or something Skin editor like rainbow.

Thank you very much.


No one never answers this thread and locked

Login to post a reply

Server time is: 2024-09-24 07:28:16
Your offset time is: 2024-09-24 07:28:16