mirror of
https://github.com/gamecreature/QtAwesome.git
synced 2024-11-15 13:35:44 +08:00
27 lines
1.0 KiB
Plaintext
27 lines
1.0 KiB
Plaintext
static const fa::QtAwesomeNamedIcon faCommonIconArray[] = {
|
|
<% icons_common.each_with_index do |(name, _unicode), index| -%>
|
|
{ <%= string_name(name) %>, <%= namespaced_id_name(name) %> } <%= index < icons_common.length - 1 ? ',' : '' %>
|
|
<% end %>
|
|
};
|
|
|
|
static const fa::QtAwesomeNamedIcon faBrandsIconArray[] = {
|
|
<% icons_brands.each_with_index do |(name, _unicode), index| -%>
|
|
{ <%= string_name(name) %>, <%= namespaced_id_name(name) %> } <%= index < icons_brands.length - 1 ? ',' : '' %>
|
|
<% end %>
|
|
};
|
|
|
|
#ifdef FONT_AWESOME_PRO
|
|
static const fa::QtAwesomeNamedIcon faProIconArray[] = {
|
|
<% icons_pro.each_with_index do |(name, _unicode), index| -%>
|
|
{ <%= string_name(name) %>, <%= namespaced_id_name(name) %> } <%= index < icons_pro.length - 1 ? ',' : '' %>
|
|
<% end %>
|
|
};
|
|
#else
|
|
|
|
static const fa::QtAwesomeNamedIcon faRegularFreeIconArray[] = {
|
|
<% icons_regular_free.each_with_index do |(name, _unicode), index| -%>
|
|
{ <%= string_name(name) %>, <%= namespaced_id_name(name) %> } <%= index < icons_pro.length - 1 ? ',' : '' %>
|
|
<% end %>
|
|
};
|
|
#endif
|