Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - billarhos

#1
Feature requests / Re: Visual Studio warnings
19 September 2019, 09:20:23
hi, compiling with vs 2019 16.2.5 , 10.0.18362.0 sdk version and Level4 (/W4) warning level, i have the following warnings.

Quote2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\include\xutility(2866,22): warning C4389:  '==': signed/unsigned mismatch

Quote
2>D:\Pandora\ThirdParty\TGUI-0.8\src\TGUI\Widgets\Label.cpp(625): message :  see reference to function template instantiation 'int std::count<sf::String::Iterator,char>(const _InIt,const _InIt,const _Ty &)' being compiled
2>D:\Pandora\ThirdParty\TGUI-0.8\src\TGUI\Widgets\Label.cpp(625): message :         with
2>D:\Pandora\ThirdParty\TGUI-0.8\src\TGUI\Widgets\Label.cpp(625): message :         [
2>D:\Pandora\ThirdParty\TGUI-0.8\src\TGUI\Widgets\Label.cpp(625): message :             _InIt=sf::String::Iterator,
2>D:\Pandora\ThirdParty\TGUI-0.8\src\TGUI\Widgets\Label.cpp(625): message :             _Ty=char
2>D:\Pandora\ThirdParty\TGUI-0.8\src\TGUI\Widgets\Label.cpp(625): message :         ]

Quote3>D:\Pandora\ThirdParty\TGUI-0.8\gui-builder\include\WidgetProperties/EditBoxProperties.hpp(44,56): warning C4244:  'argument': conversion from 'sf::Uint32' to 'char', possible loss of data
#2
Help requests / Re: cmake error
13 September 2019, 23:49:46
hi Texus. Sorry for my late responce. I 've travelled to Germany.
yes u were right about the build tools in vs. I took my laptop and i had some minimum stuff downloaded in visual studio.

I have some other issue.

picture = tgui::Picture::create(); this is working
Quotepicture->getRenderer()->setTexture(texture); this is crashing
picture = tgui::Picture::create(texture);this is crashing

a. with older drivers the program is working (windows 10 64 bit) but it is laggy (slow).
b. opengl is downgrading to 2.1. ( i set 3.0)
c. much older sfml and tgui version (2017 era) was working just fine.
d. no windows updates, no drivers updates since 2015.
e. intel Q45/Q43 chipset (vga)
f. in previous version i did not used picture widget but i was using sfml's image.

have u any thoughts?

#3
Help requests / cmake error
11 September 2019, 15:50:05
Hi Texus. I have a major problem with cmake. I have install varius versions but with the same error.

Error shown in photo.
#4
QuoteRendering only some of the widgets is also not possible.


window.clear();
button->setVisible(false);
gui.draw();

//draw sfml stuff here

button->setVisible(true);
gui.draw();

//draw sfml stuff here

window.display();


Is this valid case?
#5
I change the font and it solved.
#6
Well it is not quite overllaping but lines has no gap between.
#7
How can avoid overlaping text lines when i add line that exceed chatbox's width?
#8
General Discussion / Re: Kitchen Sink
24 June 2019, 19:27:10
QuoteYou forgot this for all widgets

;D
#9
General Discussion / Re: Kitchen Sink
24 June 2019, 06:22:55
Quotewas actually just the text color,
Yes it fixed. :o

My mistake. Sometimes when i am in hurry i act like a drunk. I was meant "ChildWindow"
In gui.txt just add "OpacityDisabled = 0.3" in ChildWindow section and the code will hung  in "mGuiTheme.load("resources/gui.txt");"

QuoteDo you think there should be a downloadable exe
No. I was sending the executable to you because i was thinking that it could help you in the process.
Just like builder-gui, it should be compiled in user side.

For all other stuff like where should be this or that, is really up to you. You can use another free font (smaller) if you like. You can change everything you like. You can put psd in website as you mention if that suits you.

Please act as yours.

#10
General Discussion / Re: Kitchen Sink
22 June 2019, 20:50:49
http://www.mediafire.com/file/qh6jds5g9z3jdfp/KitchenSink.rar/file

Now we have something, i think. 8)
Make all changes, added a  custom message box on exit.
Some fixes made.
Added opacity on disabled where needed. However there is a problem with menubar and opacity of texts color when they get enabled.
Also a setopacitydisable value in gui.txt for messagebox gave me an exception.
#11
General Discussion / Re: Kitchen Sink
21 June 2019, 09:16:57
Quote"ImageRotation = 90;"
Ok i changed the png to point to 0 degrees.

Quotecases in cVirtualKeyboard::handleEvent needed?
Ok done.

Quotemake a base class with virtual functions for all these tabs
ok will be ready soon.

#12
General Discussion / Re: Kitchen Sink
18 June 2019, 19:45:18
Well, ok we leave knob and messagebox for later time.
Forgot to mention my theme knob doesn't behave correct, meaning it can't follow the mouse events as the non theme knob follows.

Apart from knob issue, i am done. I am open to any additions or changes. Please do not hesitate. If really something is not fitting in my code i would gladly change it.
#13
General Discussion / Re: Kitchen Sink
18 June 2019, 08:16:37
http://www.mediafire.com/file/56yxedvzmigbq32/KitchenSink.rar/file

Well i made all the changes.
I added "gnu-freefont_freeserif.zip" because it contains credit file for author and maybe it should added in resources.
Png flags file are mine so it will be no problem.
Also added some cool key events for each tab (space, left arrow, right arrow or enter depending on each tab).
You can select next tab with "Tab" key.

I really can not figure out why the label with scroll bar do not show the beginning of the text.
Also, i can't set min max form size on a message box.


#14
General Discussion / Re: Kitchen Sink
17 June 2019, 23:16:12
Great.

I 'll make all the changes-corrections tomorrow.
Don't bother the others till i finished. They can see it completely. (As far as i can go it..)

Thanks Texus.
#15
General Discussion / Re: Kitchen Sink
15 June 2019, 19:25:23
QuoteI can't reproduce it

My mistake. It was the font itself!!

http://www.mediafire.com/file/0dvv5r8cgfrtc2s/KitchenSink.rar/file

http://www.mediafire.com/file/ntc50fgol5a5iho/Run.rar/file

Here is the executable and the sources with vs 2015 project files.

You can tell me if i should change anything.

For instance.

SFML_libs.hpp can be removed.
defines.hpp  can be removed.
i use defineImprovedEnum.h. if that is a problem i 'll change all enums.


Oops just remember i didn't change the tgui dll in run folder with the latest one.
http://www.mediafire.com/file/3l8iblez3fmtooo/tgui.rar/file