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.


Messages - billarhos

Pages: [1] 2 3 ... 12
1
Help requests / Re: Best practice for rendering specific widgets
« on: 18 August 2019, 14:54:38 »
Quote
Rendering only some of the widgets is also not possible.

Code: [Select]
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?

2
General Discussion / Re: Adding long lines in ChatBox
« on: 18 July 2019, 19:23:59 »
I change the font and it solved.

3
General Discussion / Re: Adding long lines in ChatBox
« on: 18 July 2019, 19:20:35 »
Well it is not quite overllaping but lines has no gap between.

4
General Discussion / Adding long lines in ChatBox
« on: 18 July 2019, 15:48:43 »
How can avoid overlaping text lines when i add line that exceed chatbox's width?

5
General Discussion / Re: Kitchen Sink
« on: 24 June 2019, 19:27:10 »
Quote
You forgot this for all widgets

 ;D

6
General Discussion / Re: Kitchen Sink
« on: 24 June 2019, 06:22:55 »
Quote
was 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");"

Quote
Do 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.


7
General Discussion / Re: Kitchen Sink
« on: 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.

8
General Discussion / Re: Kitchen Sink
« on: 21 June 2019, 09:16:57 »
Quote
"ImageRotation = 90;"
Ok i changed the png to point to 0 degrees.

Quote
cases in cVirtualKeyboard::handleEvent needed?
Ok done.

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


9
General Discussion / Re: Kitchen Sink
« on: 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.

10
General Discussion / Re: Kitchen Sink
« on: 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.



11
General Discussion / Re: Kitchen Sink
« on: 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.

12
General Discussion / Re: Kitchen Sink
« on: 15 June 2019, 19:25:23 »
Quote
I 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



13
General Discussion / Re: Kitchen Sink
« on: 15 June 2019, 04:19:37 »
I think knobs deserve a separate thread because they are so cool.. 8)


Quote
- When you close the keyboard, the "Buttons" tab is no longer selected.
Code: [Select]
pTabBar->setEnabled(false);
pTabBar->setEnabled(true);

The above code kills the selected tab. When a tab bar goes disabled must not lose his selected index.

Thenk you for the ScrollablePanel info. It was so obvious that i was totally blind.


Code: [Select]
pScrollablePanelTheme = tgui::ScrollablePanel::copy(pScrollablePanel);
pScrollablePanelTheme->setRenderer(theme->getRenderer("ScrollablePanel"));
pScrollablePanelTheme->getRenderer()->setFont(*pFont);

The above code (setting new font) sets all text data in scrollpanel to lowercase.
Ha, just tested with label and is happening the same. I think is in all widgets cause they are sharing the same code.

14
General Discussion / Re: Kitchen Sink
« on: 14 June 2019, 12:43:02 »
I think knobs need some improvements.
When i pressed down left mouse the indicator must no be moved to the direction of mouse point but only if i start moving the mouse while it still down.
Also when i double click on them they should reset.
Also they must stop on min or max and not moving around.

Pages: [1] 2 3 ... 12