alpha
Login
or
Join now
bpavuk.neocities.org
/
chocolate-doom-zig
Star
1
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[WIP] This is Chocolate DOOM but ported to Zig
Star
1
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
chocolate-doom-zig
/
textscreen
/
at
master
2 folders
48 files
ceski
Free SDL video resources on shutdown (#1743)
1y ago
cd584131
examples
textscreen: Fix const correctness issue in guitest
8 years ago
fonts
textscreen: Fix out-of-tree HAVE_FONTS build
5 years ago
.gitignore
Add tags files to svn:ignore properties. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1828
16 years ago
CMakeLists.txt
Emscripten build target support (#1717) * Fixed deadlock in OPL code when compiled with emscripten * Autodetect emscripten build environemt in config scripts * cmake support for emscripten build target * Restored cmake logic for building with SDL_net and/or SDL_mixer disabled
2 years ago
Doxyfile
textscreen: Upgrade Doxyfile to latest version. Resolves some minor warnings about config variables which are no longer used.
7 years ago
Makefile.am
Makefile.am: add CMakeLists.txt and win32 to EXTRA_DIST Closes: #1055
8 years ago
textscreen.h
textscreen: Add extern "C" for C++ imports. This fixes #941. Thanks to @Altazimuth for the suggestion.
8 years ago
txt_button.c
Make TXT_NewButton2 label parameter const
8 years ago
txt_button.h
Make TXT_NewButton2 label parameter const
8 years ago
txt_checkbox.c
Make TXT_NewInvertedCheckBox label parameter const
8 years ago
txt_checkbox.h
Make TXT_NewInvertedCheckBox label parameter const
8 years ago
txt_conditional.c
textscreen: Set parent pointer for conditionals. We rely on the parent pointer to determine if the widget is being hovered over. Set the parent pointer so that the background is set properly for a widget in a conditional container.
10 years ago
txt_conditional.h
textscreen: Add widget for conditionally hiding. A common pattern when using libtextscreen is to want to show or hide particular UI components depending on the values of particular variables. It is also common to want to only add things to the UI if a particular boolean condition is true. Add a new conditional widget to cover the first case, and a convenience TXT_If() function for the latter.
10 years ago
txt_desktop.c
Make TXT_SetDesktopTitle parameter const
8 years ago
txt_desktop.h
Make TXT_SetDesktopTitle parameter const
8 years ago
txt_dropdown.c
Make TXT_NewDropdownList values parameter const
8 years ago
txt_dropdown.h
Make TXT_NewDropdownList values parameter const
8 years ago
txt_fileselect.c
txt_fileselect.c: add missing ctype.h include On FreeBSD this include is not pulled in implicitly so the build fails with `error: implicitly declaring library function 'isalpha' with type 'int (int)' [-Werror,-Wimplicit-function-declaration]` for me.
4 years ago
txt_fileselect.h
Make TXT_NewFileSelector prompt parameter const
8 years ago
txt_gui.c
textscreen: Make UTF8 the rule, not the exception. Rename TXT_DrawString() to TXT_DrawCodePageString() and rename TXT_DrawUTF8String() to TXT_DrawString(). It's better to just assume everything is UTF8 and deal with the exceptions, as this is less likely to cause bugs. There is only a small handful of places where we want to draw a specific character from the native code page.
9 years ago
txt_gui.h
textscreen: Make UTF8 the rule, not the exception. Rename TXT_DrawString() to TXT_DrawCodePageString() and rename TXT_DrawUTF8String() to TXT_DrawString(). It's better to just assume everything is UTF8 and deal with the exceptions, as this is less likely to cause bugs. There is only a small handful of places where we want to draw a specific character from the native code page.
9 years ago
txt_inputbox.c
textscreen: Remove extern from forward declarations which don't need it
3 years ago
txt_inputbox.h
textscreen: Change most strings to UTF-8. If we are to accept arbitrary labels, window names etc., then it makes sense for these to be in UTF-8 format rather than strings in the code page extended ASCII format. This should make the API more interoperable with other data sources.
9 years ago
txt_io.c
textscreen: Refactor code page mapping. We were duplicating the Unicode/code page mapping table between txt_gui.c and txt_sdl.c, but in an incomplete and inconsistent way. It makes sense that the code page mapping should be kept with the font files that represent the code page anyway, as there may be projects like Julian Nechaevsky's Russian Doom which may want to change the code page.
9 years ago
txt_io.h
textscreen: Refactor code page mapping. We were duplicating the Unicode/code page mapping table between txt_gui.c and txt_sdl.c, but in an incomplete and inconsistent way. It makes sense that the code page mapping should be kept with the font files that represent the code page anyway, as there may be projects like Julian Nechaevsky's Russian Doom which may want to change the code page.
9 years ago
txt_label.c
Make TXT_NewLabel parameter const
8 years ago
txt_label.h
Make TXT_NewLabel parameter const
8 years ago
txt_main.h
Fix Mouse wheel conflict with Xbuttons 1&2 (#1440) * Fix Mouse wheel conflict with Xbuttons 1&2 * Display WHEEL UP/DOWN in the setup * restore txt_main * Better input remapping * Adjust setup program * Shift Xbuttons 2 up for txt_main.h/txt_sdl.h
3 years ago
txt_radiobutton.c
Make TXT_NewRadioButton label parameter const
8 years ago
txt_radiobutton.h
Make TXT_NewRadioButton label parameter const
8 years ago
txt_scrollpane.c
Fix use of comma where semicolon was clearly intended This was also UB because of assignment with no sequence point
3 years ago
txt_scrollpane.h
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago
txt_sdl.c
Free SDL video resources on shutdown (#1743) * Free/destroy SDL video resources on shutdown * Simplify
1 year ago
txt_sdl.h
setup/textscreen: Move TXT_SDLWindow extern declaration to txt_sdl.h
3 years ago
txt_separator.c
Make TXT_NewSeparator parameter const
8 years ago
txt_separator.h
Make TXT_NewSeparator parameter const
8 years ago
txt_spinctrl.c
textscreen: Set buffer when init-ing spincontrol This fixes a bug where if a spincontrol is the first widget in a window, its value gets reset to 0 every time that window is opened.
2 years ago
txt_spinctrl.h
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago
txt_strut.c
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago
txt_strut.h
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago
txt_table.c
textscreen: Remove superfluous first_widget param. This avoids a warning from doxygen about the fact that the parameter is undocumented. Since it's not necessary anyway, it can just be removed.
7 years ago
txt_table.h
textscreen: Remove superfluous first_widget param. This avoids a warning from doxygen about the fact that the parameter is undocumented. Since it's not necessary anyway, it can just be removed.
7 years ago
txt_utf8.c
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago
txt_utf8.h
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago
txt_widget.c
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago
txt_widget.h
Clean up file headers. This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
12 years ago
txt_window.c
textscreen: Fix use after free
4 years ago
txt_window.h
textscreen: Allow any widget in action area. It may be desirable to wrap a window action in a txt_conditional_t sometimes so that actions dynamically appear based on how the config changes. So change the TXT_SetWindowAction() API to accept any widget instead of mandating a txt_window_action_t.
7 years ago
txt_window_action.c
textscreen: Use cyan bg for window action hover. This makes the hover background consistent with other widgets instead of giving a black background that is inconsistent. As part of this, change the foreground text color when hovering so that the foreground does not clash with the background, and the text stays readable.
7 years ago
txt_window_action.h
textscreen: Change most strings to UTF-8. If we are to accept arbitrary labels, window names etc., then it makes sense for these to be in UTF-8 format rather than strings in the code page extended ASCII format. This should make the API more interoperable with other data sources.
9 years ago