multicolor chat box
multicolor chat box
hello
here's the multicolor chatbox based on Acki's extension, here's a picture of what it looks like
the only difference here is that you do not need to change the source code, and its compatible with irrlicht 1.1 in Linux . . (i'm pretty sure it should work ing windows as well. ) simply include the files and it would work. You can declare it this way...
#include "CGUIChatBox.h"
gui::CGUIChatBox* chat = new gui::CGUIChatBox(env, env->getRootGUIElement(), 230, core::rect<int>(20,550,300,700));
chat->addItem(L"(john) Kill that thing...");
chat->addItem(L"(firestaff) lol", video::SColor(0, 0, 255, 255));
chat->addItem(L"(juli) that's too big", video::SColor(0, 0, 0, 255));
you can download it here
http://www.freewebs.com/juliusctw
here's the multicolor chatbox based on Acki's extension, here's a picture of what it looks like
the only difference here is that you do not need to change the source code, and its compatible with irrlicht 1.1 in Linux . . (i'm pretty sure it should work ing windows as well. ) simply include the files and it would work. You can declare it this way...
#include "CGUIChatBox.h"
gui::CGUIChatBox* chat = new gui::CGUIChatBox(env, env->getRootGUIElement(), 230, core::rect<int>(20,550,300,700));
chat->addItem(L"(john) Kill that thing...");
chat->addItem(L"(firestaff) lol", video::SColor(0, 0, 255, 255));
chat->addItem(L"(juli) that's too big", video::SColor(0, 0, 0, 255));
you can download it here
http://www.freewebs.com/juliusctw
Last edited by juliusctw on Thu Aug 31, 2006 4:31 pm, edited 1 time in total.
irrlicht game character project
http://picasaweb.google.com/juliusctw/FinishedArt
http://picasaweb.google.com/juliusctw/FinishedArt
wow exacly what i needed
remove that [img]thing from the link so that it works
greets,
Halan
remove that [img]thing from the link so that it works
greets,
Halan
My Blog: http://www.freakybytes.org
hey Halan
yeah
both of us were begging to add acki's extension into the library, i'm not sure how to do patches the way hybrid asked for, so i edited Acki's version so it works independent from the source.
You in the mood to write a multi line edit box???
Somebody please do it . Or somebody give me some source code to go off by.
halan let me know if it works on windows
both of us were begging to add acki's extension into the library, i'm not sure how to do patches the way hybrid asked for, so i edited Acki's version so it works independent from the source.
You in the mood to write a multi line edit box???
Somebody please do it . Or somebody give me some source code to go off by.
halan let me know if it works on windows
irrlicht game character project
http://picasaweb.google.com/juliusctw/FinishedArt
http://picasaweb.google.com/juliusctw/FinishedArt
after including some irrlicht source files taht missed i get
edit: i just thought that also "CGUITalkingBubble" would be nice
edit2: i nearly finished a svn patch wich includes the tab control ive just one problem left maybe you can help me:
i would more need the extended tab control but im too stupid to do it i thinkedit: fixed that
edit: i just thought that also "CGUITalkingBubble" would be nice
edit2: i nearly finished a svn patch wich includes the tab control ive just one problem left maybe you can help me:
C:\Dokumente und Einstellungen\Kai\Eigene Dateien\Irrlicht\source\IrrlichtMOD\CGUIEnvironment.cpp In member function `virtual irr::gui::IGUISkin* irr::gui::CGUIEnvironment::createSkin(irr::gui::EGUI_SKIN_TYPE)':
302 C:\Dokumente und Einstellungen\Kai\Eigene Dateien\Irrlicht\source\IrrlichtMOD\CGUIEnvironment.cpp cannot allocate an object of type `irr::gui::CGUISkin'
302 C:\Dokumente und Einstellungen\Kai\Eigene Dateien\Irrlicht\source\IrrlichtMOD\CGUIEnvironment.cpp because the following virtual functions are abstract:
297 C:\Dokumente und Einstellungen\Kai\Eigene Dateien\Irrlicht\include\IGUISkin.h virtual void irr::gui::IGUISkin::draw3DTabButton(irr::gui::IGUIElement*, bool, const irr::core::rect<irr::s32>&, const irr::core::rect<irr::s32>*)
308 C:\Dokumente und Einstellungen\Kai\Eigene Dateien\Irrlicht\include\IGUISkin.h virtual void irr::gui::IGUISkin::draw3DTabBody(irr::gui::IGUIElement*, bool, bool, const irr::core::rect<irr::s32>&, const irr::core::rect<irr::s32>*)
C:\Dokumente und Einstellungen\Kai\Eigene Dateien\Irrlicht\source\IrrlichtMOD\Makefile.win [Build Error] [CGUIEnvironment.o] Error 1
Last edited by Halan on Thu Aug 31, 2006 5:38 pm, edited 1 time in total.
My Blog: http://www.freakybytes.org
don't include the FGUISkin
that's inside FGUISkin, don't include that file
I can probably add the tab control in the future, but I would really really like it if someone else give it a try
I already have the chat bubble working on mine, but its not exactly easy to integrate it in, and it doesn't look all that good. maybe i'll package it up one of these days and post it on the forum.
I can probably add the tab control in the future, but I would really really like it if someone else give it a try
I already have the chat bubble working on mine, but its not exactly easy to integrate it in, and it doesn't look all that good. maybe i'll package it up one of these days and post it on the forum.
irrlicht game character project
http://picasaweb.google.com/juliusctw/FinishedArt
http://picasaweb.google.com/juliusctw/FinishedArt
okay i finnally managed to compile irrlicht with the tab control stuff but now im getting an error when trying to compile one of the examples
greets,
HalaN
edit: HYBRID: heres a SVN patch maybe you can try and/or bugfix it
http://www.megaupload.com/?d=9SIEL3BY
edit2: ah im getting also a build error with your project. does the newest svn version work?
edit3: im allways getting a build error with the newest versoin of irrlicht. whats the problem?
any ideas?C:\Dokumente und Einstellungen\Kai\Eigene Dateien\Irrlicht\examples\02.Quake3Map\Makefile.win [Build Error] [../../bin/Win32-gcc/02.Quake3Map.exe] Error 1
greets,
HalaN
edit: HYBRID: heres a SVN patch maybe you can try and/or bugfix it
http://www.megaupload.com/?d=9SIEL3BY
edit2: ah im getting also a build error with your project. does the newest svn version work?
edit3: im allways getting a build error with the newest versoin of irrlicht. whats the problem?
My Blog: http://www.freakybytes.org
so what am i doing worng
1. i download the newest version from SVN
2. i compile with Dev-CPp the same compiler you use
3. i compile a example
4. i get an error
1. i download the newest version from SVN
2. i compile with Dev-CPp the same compiler you use
3. i compile a example
4. i get an error
[/quote]C:\Dokumente und Einstellungen\Kai\Eigene Dateien\IrrlichtOrginal\examples\02.Quake3Map\Makefile.win [Build Error] [../../bin/Win32-gcc/02.Quake3Map.exe] Error 1
My Blog: http://www.freakybytes.org
no i redownloaded evferything
strangerwise evferything works with the 1.1 version from the page.
greets,
halan
edit: i found the problem the examples are linked with a lib in the lib directory not in the bin directory wich is the output directory. works now.
ill test the tab control now
edit: works perfect please apply my patch to the svn version
edit2: the chat box still doesnt work for me i get
edit3: ok so i updated my patch. it now adds also the chatbox, the extended scrollbar, tables and the extended editbox(e.g. passwort mode but i think its buggy ) Please test it and maybe buxfix it with the code given at http://www.starsonata.com/irrlicht. i cant to it anymore becausei fly to italy tomorrow and its allread half past 4 I commented out some buggy lines and made a note above it (only 4 or so)
Please upload it it was a lot of work and was made with the newest irrlicht version
heres the link to the new patch: http://www.megaupload.com/?d=H9SUNWOW
strangerwise evferything works with the 1.1 version from the page.
greets,
halan
edit: i found the problem the examples are linked with a lib in the lib directory not in the bin directory wich is the output directory. works now.
ill test the tab control now
edit: works perfect please apply my patch to the svn version
edit2: the chat box still doesnt work for me i get
I dont know where those bools are coming from ^^[Linker error] undefined reference to `irr::gui::CGUIChatBox::CGUIChatBox(irr::gui::IGUIEnvironment*, irr::gui::IGUIElement*, int, irr::core::rect<int>, bool, bool, bool)'
edit3: ok so i updated my patch. it now adds also the chatbox, the extended scrollbar, tables and the extended editbox(e.g. passwort mode but i think its buggy ) Please test it and maybe buxfix it with the code given at http://www.starsonata.com/irrlicht. i cant to it anymore becausei fly to italy tomorrow and its allread half past 4 I commented out some buggy lines and made a note above it (only 4 or so)
Please upload it it was a lot of work and was made with the newest irrlicht version
heres the link to the new patch: http://www.megaupload.com/?d=H9SUNWOW
My Blog: http://www.freakybytes.org
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Sorry to say, but I won't touch GUI extensions in the near future. I don't know the current Irrlicht setup for those parts good enough to assess the changes made (and they are not small...). But maybe someone else will take care of it. The patches were at least working from what I saw. However, it's still "form follows function" which means: known bugs make such a patch non-applicable to official Irrlicht.
well
i am slowly picking up the GUI source code , i would need to learn how to write patches against irrlicht, then i would be happy to write them for the community,
but for now, i guess i'll just keep my extensions as seperate classes
but for now, i guess i'll just keep my extensions as seperate classes
irrlicht game character project
http://picasaweb.google.com/juliusctw/FinishedArt
http://picasaweb.google.com/juliusctw/FinishedArt
look at the sticky in the faq where you can see how to get the svn version.
then if you use tortoiseSVN and added changes you can just right klick and a create a patch thats everything
edit: yeah hybrid ill bugfix it maybe niko can take a look it somewhen
edit2: hey juliusctw get tortoiseSVN or another svn client and look at my patch then you dont have to do all the work yourself..
then if you use tortoiseSVN and added changes you can just right klick and a create a patch thats everything
edit: yeah hybrid ill bugfix it maybe niko can take a look it somewhen
edit2: hey juliusctw get tortoiseSVN or another svn client and look at my patch then you dont have to do all the work yourself..
My Blog: http://www.freakybytes.org
okay atm i fixed the edit box bugs so now that works also if someone wants to debugg the chatbox and the tablecontrol he can download the zip file and do it . the extended tab control works also if you want i can create a patch only with the tab control and the extended edit box included which work perfect both. and i also added a new event to the event receiver its called EGET_ELEMENT_FOCUS_GAINED. it was needed by the extensions but i think its also useful in other projects
here: http://www.megaupload.com/?d=03RS84VE
greets,
halan
btw: theres also the orginal source from the star sonata team included
here: http://www.megaupload.com/?d=03RS84VE
greets,
halan
btw: theres also the orginal source from the star sonata team included
My Blog: http://www.freakybytes.org