So, you decided to create a new tab control for your interface:
Wait a minute, those tabs are so high compared to the text inside. We're wasting a lot of space. Ok that's better:
Mmm, too bad we can't add more tabs without having them being cut off or not displayed. Whoops, fixed too :
Here, I added the tab "CCCCCC" and it was too big to display, so it added the "tab scroll bar". Now, with the tab scroll bar, "BBBBBB" can't be displayed either, so it's taken out. You can now use the arrow buttons to scroll through the tabs.
Mmmm I'd like to place my tab control differently, have it display the tabs at the bottom for my chat window interface :
Now.. if only I could reduce the width added on the side of my text in the tabs, I could save a lot of space I need. There you go again I guess ^_^:
I'm sort of looking for a place to host the code, the company website probably isn't a good idea so I'll try to find something but if anyone has a suggestion .. :p
Edit: My next control is going to be tables. I don't know when but I know that I'll do them at some point because our old game client use a lot of them, so I have no choice. If you don't know what I mean by tables, it's something like this : http://java.sun.com/docs/books/tutorial ... table.html
Expanded Tab Control
-
- Posts: 370
- Joined: Mon Aug 29, 2005 10:54 pm
- Location: http://web.utk.edu/~pfox1
Wow, that's really nice. I made a GUI system for myself that loads from XML, and tabs are really essential to it (you can only fit so many controls in a window....). Your examples highlight every problem I was having (the tabs are too tall, too wide, and don't scroll). If you make that code available, I'd be interested in it. Great job.
Lets see your name is Dark Rain... where as I have alias's such as rayn trustin and Ecliptic Fate...
Ok Dark Rain I'm thinking to myself this guy is a lot like me right?
Then I see you have been playing with my gui *cough* Niko's gui (I ment Niko's honest) so anyways...
If you have a look at the shiny buttons and signitures below..
you'll find a link to MSN and a link to Guice...
I highly suggest you to investigate this please and contact me...
Another option would be the #irrlicht channel on irc.freenode.net on IRC
I've been working on a GUI Editor and GUI modification for Irrlicht I'm curious if you would be interested in giving me a hand.
Ok Dark Rain I'm thinking to myself this guy is a lot like me right?
Then I see you have been playing with my gui *cough* Niko's gui (I ment Niko's honest) so anyways...
If you have a look at the shiny buttons and signitures below..
you'll find a link to MSN and a link to Guice...
I highly suggest you to investigate this please and contact me...
Another option would be the #irrlicht channel on irc.freenode.net on IRC
I've been working on a GUI Editor and GUI modification for Irrlicht I'm curious if you would be interested in giving me a hand.
Anyone has tried compile the code at http://people.freenet.de/abusoft ?
I have replaced the
CGUITabControl.h
CGUITabControl.cpp
IGUITabControl.h
CGUISkin.h
CGUISkin.cpp
IGUISkin.h
in Irrlicht SDK 0.12.0 with those in http://people.freenet.de/abusoft and compile the whole engine. But it seems that .exe formed have run time error. Anyone know the reason?
I have replaced the
CGUITabControl.h
CGUITabControl.cpp
IGUITabControl.h
CGUISkin.h
CGUISkin.cpp
IGUISkin.h
in Irrlicht SDK 0.12.0 with those in http://people.freenet.de/abusoft and compile the whole engine. But it seems that .exe formed have run time error. Anyone know the reason?
Well, this is my project...
It should work with no problems...
1. did you use the includes from the Irrlicht source (with new/my files)?
2. did you use the new Irrlicht.dll?
3. are the crashes only with new projects or old projects that uses the old Irrlicht.dll and getting the new dll instead?
I really want to know, if this is the cause of my changes with some side effects depending on other system configurations, so I can make a bug fix.
CU
It should work with no problems...
1. did you use the includes from the Irrlicht source (with new/my files)?
2. did you use the new Irrlicht.dll?
3. are the crashes only with new projects or old projects that uses the old Irrlicht.dll and getting the new dll instead?
I really want to know, if this is the cause of my changes with some side effects depending on other system configurations, so I can make a bug fix.
CU
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Recently, I discovered that when I add a button on a tab pane, the OnEvent function can't work properly.(of coz using code at http://people.freenet.de/abusoft)
When I press the button(on tab pane), I seems that it can detect event.EventType == EET_GUI_EVENT but can't detect EGET_BUTTON_CLICKED
(I have ever used back the original code of irrlicht-0.12.0, no such problem occurs)
I know that I always ask some questions which are quite silly but I hope that you may have a look on it and tell me if I am wrong
When I press the button(on tab pane), I seems that it can detect event.EventType == EET_GUI_EVENT but can't detect EGET_BUTTON_CLICKED
(I have ever used back the original code of irrlicht-0.12.0, no such problem occurs)
I know that I always ask some questions which are quite silly but I hope that you may have a look on it and tell me if I am wrong