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
..
2020-08-07 16:13:11 +02:00
2021-03-04 17:17:19 +11:00
2021-04-08 17:26:33 +02:00
2021-01-04 17:38:11 +11:00
2020-12-21 14:31:32 -07:00
2021-03-16 07:43:17 +01:00
2021-06-30 16:42:19 +10:00
2021-06-30 16:42:19 +10:00
2021-04-29 21:25:34 -05:00
2021-01-04 17:38:11 +11:00
2021-06-30 16:42:19 +10:00
2020-08-07 09:50:34 +02:00
2021-06-30 16:42:19 +10:00
2021-03-16 07:43:17 +01:00
2021-06-15 19:01:53 -07:00
2021-02-09 16:08:45 +01:00
2021-06-24 15:59:34 +10:00
2021-06-30 16:42:19 +10:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2021-06-30 16:42:19 +10:00
2020-08-07 09:50:34 +02:00
2021-06-26 21:50:48 +10:00
2021-06-30 16:42:19 +10:00
2021-04-13 15:28:43 +10:00
2021-06-30 16:42:19 +10:00
2020-08-07 11:49:58 -06:00
2021-01-18 12:15:46 +01:00
2021-06-21 16:41:50 -03:00
2020-08-07 09:50:34 +02:00
2021-04-13 13:14:49 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2021-06-18 16:33:02 -05:00
2021-02-11 12:34:41 +11:00
2020-08-07 09:50:34 +02:00
2021-06-15 09:31:03 +02:00
2020-08-07 09:50:34 +02:00
2021-03-08 16:25:08 +01:00
2021-06-25 07:57:24 +02:00
2021-04-08 22:15:51 +10:00
2020-09-04 21:04:16 +02:00
2021-04-19 00:24:43 -03:00
2021-04-01 11:20:32 -03:00
2021-03-18 09:36:44 +11:00
2020-08-07 09:50:34 +02:00
2021-06-26 21:50:48 +10:00
2020-08-07 09:50:34 +02:00
2020-12-16 16:25:56 +11:00
2021-03-01 16:23:15 +01:00
2021-06-01 09:23:37 +02:00
2021-02-10 13:25:31 +01:00
2021-06-28 15:46:16 +10:00
2021-06-24 15:59:34 +10:00
2021-02-09 09:58:06 +11:00
2021-06-30 17:46:59 +02:00
2021-04-28 13:13:43 -05:00
2021-06-24 15:59:34 +10:00