Welcome, Guest. Please login or register. Did you miss your activation email?

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 - Cpl.Bator

Pages: [1] 2 3 ... 5
1
General / Re: Drawing while resizing window.
« on: September 26, 2018, 12:41:42 am »
i found interesting information here :

https://en.sfml-dev.org/forums/index.php?topic=5858.0

so, i need to use winapi for windows.

2
General / Drawing while resizing window.
« on: September 25, 2018, 11:58:10 pm »
Hi, i search a method ( portable , linux & windows ) for drawing some stuff when i resize the main window. i use SFGUI , and i want a "good look", like "normal application" when i resize the window, not a fixed app during the resize. i've tried to draw inside the event loop, but seem doesnt work.

Thanks.

3
SFML projects / Re: [Release][GUI] ImGui-SFML
« on: May 11, 2018, 07:53:23 pm »
thanks, just "ImGui::GetIO().WantCaptureMouse" solved my problem.

4
SFML projects / Re: [Release][GUI] ImGui-SFML
« on: May 11, 2018, 06:40:55 pm »
Thanks Elias, i have integrated your code with my program, all work fine.
But, i have a question, for sure, you have resolved it before, i need to create a small tile editor, i need to ignore
the mouse click when i am inside an imgui window, when i choose some options in my window, some tile will be pasted on the map...

i try this code, but that's doesnt work :

if (sf::Mouse::isButtonPressed(sf::Mouse::Left) && mSelectedTile != -1 && !ImGui::IsWindowHovered())
...

what is the trick ?

thanks.

5
SFML projects / Re: Gravity Sandbox
« on: July 08, 2016, 04:51:09 pm »
Very nice.
the gui must be improve , and why you dont use existing gui like sfgui or tgui ? both lib are easy to integrate.

6
General / Re: raspberry pi 2
« on: November 03, 2015, 05:30:35 pm »
Thanks exploit3r to get me on the right way.
i add "-lGLESv1_CM -lGLESv2 -lEGL -lxcb-randr -lxcb-util -lxcb-image" on CMAKE_SHARED_LINKER_FLAG to avoid ldd -r error's.
Fine, but, i think i dont use hardware graphics, there is no difference between soft/hard in performance ( just turn sprite with deltatime is "jumpy" in two case ).

7
General / Re: raspberry pi 2
« on: November 03, 2015, 04:06:02 pm »
Is strange, SFML support GLES ? without gles , sfml work fine on rpi2 ( with window at desktop size )

8
General / Re: raspberry pi 2
« on: November 03, 2015, 03:26:39 pm »
There is no effect with add lib to CMAKE_xxx_LINKER_FLAGS , i test with a simple example i've been found on tutorial here : http://www.sfml-dev.org/tutorials/2.3/graphics-draw.php

i compile in command line :
g++ main.cpp -lsfml-system -lsfml-window -lsfml-graphics -lxcb-randr -lxcb-util -lxcb-image
i add some lib to avoid ldd error

when i launch program i've got an ouput error with gles :

libEGL warning: DRI2: failed to authenticate
Failed to create window
Failed to activate the window's context
Erreur de segmentation
 

Laurent, for christmass , do you want a rpi2 ? :)

9
General / Re: raspberry pi 2
« on: November 02, 2015, 09:13:54 pm »
the 2.3.2. How can add dependencies with cmake (with sfml cmake files) ? there is already FindXCB.cmake in cmake/modules folder.
 

10
General / Re: raspberry pi 2
« on: November 02, 2015, 10:52:48 am »
the compilation is not the problem, the problem is broken symbol link. maybe error in cmakelist ?

11
General / Re: raspberry pi 2
« on: October 31, 2015, 03:27:51 am »
yes, libxcb_randr0-dev.

12
General / raspberry pi 2
« on: October 30, 2015, 02:37:15 pm »
Hi everyone, i start new topic with RPI2 and the last SFML version. i use cmake-qt-gui for visualize easily informations , firstly i've got an error with  OPENGL_gl_LIBRARY , i use gles , i cheat with /usr/lib/arm-linux-gnueabihf/libEGL.so for bypass the error.
After configuration is okay , i launch a compilation with sample , i've got no error with the library , just with an example :
(click to show/hide)

the sfml lib has been created in my build/lib/ folder, i launch an ldd -r on sfml-graphics part for see if library have a problem , and i see that's :

(click to show/hide)

i've got a lot of undefined symbol xcb_randr... , but , i have installed the dev lib.

13
pyxeledit is a good software : http://pyxeledit.com/ the old beta is free, but is just cost 9 bucks.

14
General / Re: Raspberry PI 2
« on: June 10, 2015, 11:20:28 am »
in shared, that's what i don't understand this behavior. i will try after work the ldd command on all SFML lib to see the dependencies.

15
General / Re: Raspberry PI 2
« on: June 09, 2015, 12:07:37 am »
sfml compile fine, no error, but, when i try to compile an sfml program, i've got a lot of undefined reference (xcb_...) on libsfml-window.so and glblendequation0ES on graphic.so. all dependencies are installed (gles & lot of xcb x11, in dev version )
i don't understand.

Pages: [1] 2 3 ... 5
anything