Jacques Lucke
17a67bf778
UI: custom free function improvements
...
This changes `UI_but_func_tooltip_set` so that it allows passing a custom free function, which has two benefits:
* The caller can pass `null` to indicate that the value should not be freed.
* Arbitrary c++ data can be passed to the callback (before the struct had to be trivially destructible).
I added `uiFreeArgFunc` and used it in other places where appropriate.
Differential Revision: https://developer.blender.org/D11738
2021-06-30 17:46:59 +02:00
..
2021-06-16 18:35:52 +01:00
2021-06-28 16:11:18 +10:00
2020-12-28 10:22:02 +01:00
2021-01-04 17:35:14 -06:00
2021-06-15 19:13:09 +02:00
2021-06-24 15:59:34 +10:00
2021-06-10 02:22:46 +10:00
2020-12-24 11:07:32 -06:00
2021-03-17 08:59:04 +01:00
2021-03-17 08:59:04 +01:00
2020-10-10 22:04:51 +11:00
2021-06-26 21:50:48 +10:00
2021-03-17 08:59:04 +01:00
2021-05-25 18:25:44 +10:00
2021-06-30 17:46:59 +02:00
2021-01-25 18:34:29 +11:00
2021-04-13 13:14:49 +02:00
2021-06-30 17:46:59 +02:00
2021-06-29 18:20:56 +02:00
2021-06-22 10:54:50 -07:00
2021-06-24 15:53:26 +10:00
2021-06-28 19:47:13 +02:00
2021-02-20 18:54:40 +01:00
2020-11-13 13:57:20 -05:00
2021-03-05 14:44:28 +11:00
2021-06-30 17:46:59 +02:00
2020-11-18 16:14:48 -05:00
2021-06-30 17:46:59 +02:00
2021-06-15 19:13:09 +02:00
2021-06-24 15:59:34 +10:00
2020-08-07 09:50:34 +02:00
2021-01-07 12:30:18 -06:00
2021-06-26 21:50:48 +10:00
2021-04-14 11:11:51 -05:00
2021-04-14 11:11:51 -05:00
2021-06-30 17:46:59 +02:00
2021-06-24 15:59:34 +10:00
2021-03-19 20:24:56 +01:00
2021-06-30 16:42:19 +10:00
2021-06-30 17:46:59 +02:00
2021-03-08 16:25:08 +01:00
2020-08-26 10:31:44 +10:00
2021-06-17 14:43:25 +10:00
2021-06-24 15:59:34 +10:00
2021-06-24 15:59:34 +10:00
2021-06-24 15:59:34 +10:00