Main Menu
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

Topics - DJuego

#1
Feature requests / Menu with checks/checkbox
30 January 2023, 13:31:45
First of all, thank you very much for this very powerful contribution, texus!!

Almost anyclassic widget I could possibly need I can find. But sometimes the need arises for some very particular widget that solves a specific problem almost perfectly.

This is the case of menus with checks.



DJuego

PS: In my case I would like to use it to control the visibility of groups of sprites (9 groups of five sprites each).  :)
 


#2
Hi! I am using the new FileDialog Widget for the first time.  I can manipulate the dialog box inside the RenderWindow. Good.

However I am not able to create the dialog box in a separate, independent window that I can move freely across the desktop.  :( Maybe it is not possible? And if possible, can you direct me to an example code?

An animated GIF showing the result obtained so far: https://gfycat.com/tinykeydowitcher

Thanks!

DJuego

#3
Help requests / Conversion from CImg to TGUI
28 March 2020, 15:57:08
Windows 10. Microsoft Visual Studio 2019

Hi. I'm new to CImg.

I'm trying to load images into SFML from CImg. My idea is that CImg will take care of the image processing while the interface is developed based on SFML (more specifically with TGUI. For example in a PictureBox.). Has anyone tried this conversion successfully?

My attempts have been unsuccessful. For example; this code produces an exception.


cimg_library::CImg<unsigned char> image_cimg("recursos/imagen_png.png");

sf::Image image_sfml;
image_sfml.create(image_cimg.width(), image_cimg.height(), image_cimg.data());


Any idea?
Thank you!

DJuego
#4
Installation help / tgui master.
10 April 2018, 22:25:47
Hi! I just registered. Thank you for tgui! I've used it several times and it's great. I always build the master branch and I have not had problems for a long time. I use a script. However in the last weeks a problem has appeared.


Instalacion TGUI en x64
-- The C compiler identification is MSVC 19.13.26128.0
-- The CXX compiler identification is MSVC 19.13.26128.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.13.26128/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.13.26128/bin/Hostx64/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.13.26128/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.13.26128/bin/Hostx64/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
CMake Warning at CMakeLists.txt:171 (find_package):
  By not providing "FindSFML.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "SFML", but
  CMake did not find one.

  Could not find a package configuration file provided by "SFML" (requested
  version 2) with any of the following names:

    SFMLConfig.cmake
    sfml-config.cmake

  Add the installation prefix of "SFML" to CMAKE_PREFIX_PATH or set
  "SFML_DIR" to a directory containing one of the above files.  If "SFML"
  provides a separate development package or SDK, be sure it has been
  installed.


CMake Error at CMakeLists.txt:184 (message):
  CMake couldn't find SFML.

  Either set SFML_DIR to the directory containing SFMLConfig.cmake or set the
  SFML_ROOT entry to SFML's root directory (containing "include" and "lib"
  directories).


-- Configuring incomplete, errors occurred!
See also "P:/Compilados/x32-x64/TRABAJO_MSVC2017_x64/TGUI/builds/debug/CMakeFiles/CMakeOutput.log".




I do not know if they are due to changes in SFML (branch master) or tgui (branch master). (?) I work in Windows 10 x64 with Visual Studio 2017.
Interestingly, if I configure and generate the files with cmake-gui (without changes), it works!

Any idea? Thanks!

DJuego