Search found 2 matches

by Ayre Morberos
Tue Mar 05, 2024 8:54 pm
Forum: Beginners Help
Topic: IGUIElements and IReferenceCounted
Replies: 2
Views: 1716

Re: IGUIElements and IReferenceCounted

That hovering and focusing could explain it, and would most likely terrible to debug. Especially if you not sure (yet) where to look. When they will be removed then it is fine.
Thanks.
by Ayre Morberos
Tue Mar 05, 2024 2:47 am
Forum: Beginners Help
Topic: IGUIElements and IReferenceCounted
Replies: 2
Views: 1716

IGUIElements and IReferenceCounted

Hi folks, I've got this snippet: if( _image ) { _image->remove(); } else { dimension2du center = _guienvironment->getVideoDriver()->getScreenSize() / 2; _image= _guienvironment->addImage( recti( center.Width - 100, center.Height - 200, center.Width + 100, center.Height + 200 ), 0, -1, 0, false ); } ...