Hi, I would like to use AlfiskoSkin, but it's unfinished. I need Listbox and items for my console. When I opened AlfiskoSkin.looknfeel... I almost fainted... So there is another way than being brutalized by XML to add a listbox to AlfiskoSkin ?
there is a tutorial or a "how to" about skining ?
AlfiskoSkin/ListBox
Moderators: CEGUI MVP, CEGUI Team
Re: AlfiskoSkin/ListBox
Use the API docu and : http://cegui.org.uk/wiki/The_Beginners_ ... g_-_Part_I
The above wiki article is pretty aged, but not so much has changed. Also it helps to look at the existing widgets and just copy them over and replace the image references for example. Taharezlook as a pretty complete set of widgets, so you could try to copy stuff over from there.
You will have to use XML, I am sorry.
Maybe during this summer's GSOC projects someone might implement an look n' feel editor for CEED if we are lucky . If this is going to happen then it should be possible to make new widgets without touching any XML quite easily, unless you want to do really extraordinary things that might not be implemented into the editor so soon.
The above wiki article is pretty aged, but not so much has changed. Also it helps to look at the existing widgets and just copy them over and replace the image references for example. Taharezlook as a pretty complete set of widgets, so you could try to copy stuff over from there.
You will have to use XML, I am sorry.
Maybe during this summer's GSOC projects someone might implement an look n' feel editor for CEED if we are lucky . If this is going to happen then it should be possible to make new widgets without touching any XML quite easily, unless you want to do really extraordinary things that might not be implemented into the editor so soon.
CrazyEddie: "I don't like GUIs"
Re: AlfiskoSkin/ListBox
well...
...NO PAIN NO FUN
anyway thx for the link
...NO PAIN NO FUN
anyway thx for the link
Re: AlfiskoSkin/ListBox
I would just start by taking two existing Listbox widget definitions as base and use the API reference in case you have questions about elements, attributes, etc. That's how i learnt it. It is not that difficult actually.
CrazyEddie: "I don't like GUIs"
Re: AlfiskoSkin/ListBox
And what would that be? i dont see a listbox
CrazyEddie: "I don't like GUIs"
Re: AlfiskoSkin/ListBox
oh cool. thought thats a statictext inside a framewindow or something like that. It is not really visible that these are different entries. Do you use wordwrap?
CrazyEddie: "I don't like GUIs"
Re: AlfiskoSkin/ListBox
not yet, and for now the vertical bar is not controlled (I will have to search how to do that). I have to move the vertical bar myself to see recent outputs
Re: AlfiskoSkin/ListBox
Hey,
I need an ListBox in AlfiskoSkin, too. I tried to have a look at your bitbucket, but there is no code. Could you please reupload your listbox code?
thanks
I need an ListBox in AlfiskoSkin, too. I tried to have a look at your bitbucket, but there is no code. Could you please reupload your listbox code?
thanks
Re: AlfiskoSkin/ListBox
https://bitbucket.org/nicooplusplus/boo ... 7248a1deca
The bitbucket repo is weird. This code seems to be on a branch that isnt choosable by option.
The bitbucket repo is weird. This code seems to be on a branch that isnt choosable by option.
CrazyEddie: "I don't like GUIs"
Re: AlfiskoSkin/ListBox
Thanks for the reply!
Re: AlfiskoSkin/ListBox
No problem. Check out the other commits if it wasnt in the one i linked:
https://bitbucket.org/nicooplusplus/boo ... ommits/all
maybe you can also figure out how to display the branch in that those commits are. It might be necessary to do a lokal clone though instead, maybe the repo has two heads.
https://bitbucket.org/nicooplusplus/boo ... ommits/all
maybe you can also figure out how to display the branch in that those commits are. It might be necessary to do a lokal clone though instead, maybe the repo has two heads.
CrazyEddie: "I don't like GUIs"
Who is online
Users browsing this forum: No registered users and 6 guests