Thilo Graf 5365a394be widget/menu: add member 'type_name' to CMenuItem class
This makes it easier to distinguish the object type. Normally,
type queries would be done using typeid-operation or dynamic_cast,
but we usually have RTTI disabled in the Makefiles. Presumably,
this is to avoid unnecessarily increasing the size of the binaries.
The type information defined by this member is currently only defined
in the CMenuItem class, so all subclasses are also equipped with it.
An exception is the CMenuSeparator class. If further definitions are
necessary in the subclasses, they can be retrofitted as needed.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2cd470cd59
Author: Thilo Graf <dbt@novatux.de>
Date: 2023-02-19 (Sun, 19 Feb 2023)



------------------
This commit was generated by Migit
2023-02-19 22:33:10 +01:00
2019-04-24 13:49:02 +02:00
2019-04-16 23:42:51 +02:00
2021-09-17 23:20:40 +02:00
2019-04-24 13:33:34 +02:00
2022-12-03 21:48:05 +01:00
2009-12-08 11:05:11 +00:00
2009-12-08 11:18:17 +00:00
2021-11-07 20:08:44 +01:00

NI \o/ - Neutrino

Languages
C++ 85%
C 12.5%
Shell 0.6%
Makefile 0.6%
M4 0.5%
Other 0.7%