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
Garux
34e9b522b7
* shader editor: support files with crlf line feeds in linux
...
preserve line feeds on saving
indicate 'modified' state by save button and window name
view shaders from packs too (read only)
refactor
2019-11-09 15:13:59 +03:00
Garux
6c9870f941
* workaround gamma bug in 2D views and texture browser with fresh nvidia drivers
2019-08-31 12:22:47 +03:00
Garux
04b4f5fb1d
simplify TextureBrowser Texture_Draw()
2019-07-05 19:30:43 +03:00
Garux
0aa711ef74
better move amount measurement logic for m2 = texbro scroll or tags condition
2019-03-14 21:19:15 +03:00
Garux
7908a2b593
simplify TextureBrowser_GetSelectedShader, TextureBrowser_SetSelectedShader usage
...
assuming, that we have only TextureBrowser
2018-08-03 17:32:57 +03:00
Garux
c3a110bf2c
fix old mipmaps code: tex size could be = 0
2018-07-10 01:13:47 +03:00
Garux
367e13e880
* map objects counts statusbar icons
...
* omit textures/ prefix in texture clipboard status
2018-06-09 22:04:23 +03:00
Garux
24c02facb2
refactor status text, status labels
2018-05-31 16:16:47 +03:00
Garux
7c5d79da6b
* texbro: show tags frame on M2 release after small or zero move to enable (m2 drag = scroll pan) with tags on
2018-04-28 20:18:06 +03:00
Garux
cf580963c2
more globalWarningStream() globalErrorStream() use
2018-03-21 16:06:22 +03:00
Garux
0bf509dc1a
* fix: FBO creation was random
...
* disable MSAA with samples = 0, even if more is forced via driver
2018-03-05 13:48:48 +03:00
Garux
357beaa46d
* texbro: show all used textures on 'flush and reload shaders'
2018-03-03 15:05:30 +03:00
Garux
ef94020d67
* texbro tree: display only wad names + full paths as tooltips
...
* texbro tree: do not try to load root of texture directories group
2018-03-03 13:08:18 +03:00
Garux
1d3094de94
use static boolean TextureBrowser::wads, clean the code
2018-03-02 19:19:29 +03:00
Garux
f91df90d58
remove const_cast hack and memory leak in 'load doubleclicked texture's directory'
2018-02-04 19:38:08 +03:00
Garux
78db33ff4a
* fix crash, if renaming tag w/o shaders assigned
2018-01-16 14:40:16 +03:00
Garux
fd04e52a06
* disable MSAA in Texture Browser, even if forced via driver
2017-12-20 15:57:44 +03:00
Garux
4e4b8e1407
* texbro->search entry: ESC = clear
...
* entity list+: search entry with start/any position modes:
mouse wheel, uparrow/downarrow = scroll through search results
ESC = clear
mwheel in empty entry = scroll through selected/child selected entities
* entity list: expand map's root node on dialog display for convenience
2017-09-03 22:48:46 +03:00
Garux
6a85a08c18
Radiant:
...
misc...
* entities converting: also create group entities from world primitives instead of "do not want to convert worldspawn entity" error
* fix: group dialog: prevent focusing on texbro->filter entry and console, if switching to ones by click on tabs (was blocking hotkeys)
2017-08-02 09:51:08 +03:00