Commit Graph
104 Commits
Author SHA1 Message Date
Garux 34f7fe77b0 * new icons by Julius, high dpi scaling support
closes #111
2025-09-12 22:47:13 +05:00
Garux 911a7cceeb minor tweaks 2025-09-03 00:29:13 +05:00
Garux 5426732f28 minor tweaks 2025-09-02 05:04:33 +05:00
Garux 1599d0a64b * layers system (stored in comments of .map file)
menus	* View->Layers Browser (L)
	* Edit->Expand Selection To Layers (ctrl + q)
	* shift + q: move-to LayersMenu
closes #133
2025-08-31 16:25:12 +05:00
Garux eed8c1b083 * m2 in texBro: context menu 2025-08-08 18:12:50 +05:00
Garux a5bead358b minor tweaks 2025-03-04 01:04:49 +05:00
Garux 6e16d7e3bd menu * Modify->Repeat: saved transforms feedback and individual resets
* Modify->Repeat->Reset Transforms (alt + r)
2025-02-06 14:37:05 +05:00
Garux 607d4c67ad tweak formatting 2025-02-05 15:59:29 +05:00
Garux 8820a72d05 meaningful naming of color preferences 2025-01-30 20:39:08 +05:00
TimePath b65f27b166 Callback: cleanup 2025-01-22 14:57:22 +05:00
TimePath 57c8189225 Callback: remove fixed-arity wrappers 2025-01-22 12:39:14 +05:00
TimePath bb72714216 Embrace variadic templates 2025-01-21 12:36:33 +05:00
Garux 8cbbafa540 fix tag renaming logic 2024-12-01 06:01:52 +05:00
Garux 55dc6e677d use std::set std::map contains() 2024-12-01 06:01:52 +05:00
Garux d4e1be39ad fix TextureBrowser::clampOriginY(), min origin could be >0
fixes #186
2024-04-09 18:57:55 +05:00
Garux df02774ff5 tweak StringOutputStream use
auto str = StringOutputStream()(bla) use form was not doing copy elision or move, but copy
2024-01-29 16:54:08 +06:00
Garux 9a13f9ed55 simplify build code 2024-01-24 17:09:04 +06:00
Garux 6dab1291bd tweak menu text 2024-01-10 22:04:10 +06:00
Garux 7c9103032f texture browser, model browser trees: disable text ellision
horizontal scroll + ellided text made no much sense
2023-12-14 03:30:14 +06:00
Garux 15ca706037 support DPI scaling by viewports rendering and input in certain scenarios
e.g. in mac, kde, wayland or after QT_SCALE_FACTOR=1.25 ./install/radiant
2022-11-07 19:02:40 +03:00
Garux 6da99631e2 * texBro folders tree: sort it case insensitively 2022-11-02 11:59:10 +03:00
Garux e445a2635a fix crash with 'load shaders at startup' (was occuring before ogl init) 2022-10-28 09:50:44 +03:00
Garux 9d3d204018 Qt 2022-10-27 09:10:31 +03:00
Garux 522f6f907e rename cmdlib and imagelib to fix name clashes 2021-10-31 14:13:02 +03:00
Garux d812cbd4d4 replace ArrayRange by tcb::span (reproduction of std::span) 2021-10-24 08:32:10 +03:00
Garux b6d60fb17c add and use path_extension_is() 2021-10-03 17:13:12 +03:00
Garux 02a3b9c026 use ostream_write( CopiedString ) 2021-09-18 15:30:11 +03:00
Garux aa4f3a1f72 reduce the use of GSlist
Quake3FileSystem::forEachFile: avoid double extension check, support "*", as advertised
2021-08-19 12:28:56 +03:00
Garux 6c00419653 fix spelling 2021-05-24 20:23:09 +03:00
Garux 2222100316 indent classes, align by spaces 2021-03-24 00:25:15 +03:00
Thomas Debesse c4b79d2194 radiant/texwindow: fix a minor typo 2021-03-20 20:31:35 +03:00
Garux 02874bebee shorten some StringOutputStream uses 2021-02-08 13:48:49 +03:00
Garux d734199601 manage path routines 2021-01-22 02:21:54 +03:00
Garux 8b204ac054 add and use class PathExtensionless 2021-01-21 15:15:07 +03:00
Garux 95809d79f5 use GtkToolItem in toolbars 2020-05-27 08:18:22 +03:00
Garux 495e90e6a9 gtk_notebook_set_page -> gtk_notebook_set_current_page
gtk_container_children -> gtk_container_get_children
gtk_notebook_set_page -> gtk_notebook_set_current_page
gtk_widget_hide_all -> gtk_widget_hide
gtk_check_menu_item_set_state -> gtk_check_menu_item_set_active
gtk_radio_menu_item_group -> gtk_radio_menu_item_get_group
2020-05-23 22:54:26 +03:00
Garux 2e71534766 gtk_tooltips_set_tip -> gtk_widget_set_tooltip_text 2020-05-22 01:16:04 +03:00
Garux 62603d25fb don't check equality to gboolean FALSE and TRUE 2020-05-21 16:27:31 +03:00
Garux 70cf8c4bdd gtk_widget_ref/gtk_widget_unref -> g_object_ref/g_object_unref 2020-05-21 16:27:28 +03:00
Garux 0140da6e72 only #include <gtk/gtk.h> 2020-05-21 16:27:17 +03:00
Garux 065862627e update GtkAdjustment data access methods 2020-05-21 16:24:50 +03:00
Garux 112f66fb06 remove deprecated GTK_WIDGET_SET_FLAGS GTK_WIDGET_UNSET_FLAGS use 2020-05-19 22:08:00 +03:00
Garux e1a145c234 remove excess (GdkModifierType) casts 2020-05-19 21:40:52 +03:00
Garux 0831e0966d Replace GDK_<keyname> with GDK_KEY_<keyname> 2020-05-19 21:15:11 +03:00
Garux a0a47640b0 * new rendering system for volatile text
(symbols rendered to atlas texture)
deliver position via glRasterPos + glGet GL_CURRENT_RASTER_POSITION to avoid adding calculations of screen coords in many spots
solves problem: pango 1.44 switch freetype->harfbuzz = bitmap fonts aren't available, in particular no gdk_gl_font_use_pango_font()
text is rendered from font bottom (was from baseline)(latter is wanted less often)
wgl bitmap<->pango sizes do not match, thus realign all text positions, increase default font size
make 2D axes labels, view type text, sizing info adaptive to font size
#24
fixes #42
2020-05-14 07:51:34 +03:00
Garux fa2a179fd5 fix memory leaks in texture browser::tags functions 2020-05-05 23:36:48 +03:00
Garux d48ce73d01 reset texture browser origin on directory loading 2020-05-04 20:52:48 +03:00
Garux 7ae79b263d minor refactoring 2020-04-28 08:30:25 +03:00
Garux 06cd1e98ff * Model Browser: default bind '/'
m1 = assign model to selected entity nodes (shift + e to select nodes of group entities)
		m1x2 = insert "misc_model" with given model
		m1 drag = rotate model
		Preferences.Model Browser: list of * separated folderToLoad/depth values, e.g. *models/mapobjects/99*maps/1*; */99* loads root
2020-04-26 07:28:23 +03:00
Garux 56ecc1b0a5 reduce texwindow.h inclusions 2020-04-04 19:39:57 +03:00