mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Rename breakLine to break_line
This commit is contained in:
parent
15f1680c20
commit
984a1fe337
@ -77,5 +77,5 @@ class ACE_Settings {
|
|||||||
};
|
};
|
||||||
|
|
||||||
class ACE_Extensions {
|
class ACE_Extensions {
|
||||||
extensions[] += {"ace_breakLine"};
|
extensions[] += {"ace_break_line"};
|
||||||
};
|
};
|
||||||
|
@ -35,7 +35,7 @@ if(_icon == "") then {
|
|||||||
_text = if (GVAR(UseListMenu)) then {
|
_text = if (GVAR(UseListMenu)) then {
|
||||||
format ["<img image='%1' color='%2' align='left'/><t color='%3' size='0.80' shadow='1' shadowColor='%4' shadowOffset='0.06'>%5</t>", _icon, _iconColor, _textColor, _shadowColor, _text]
|
format ["<img image='%1' color='%2' align='left'/><t color='%3' size='0.80' shadow='1' shadowColor='%4' shadowOffset='0.06'>%5</t>", _icon, _iconColor, _textColor, _shadowColor, _text]
|
||||||
} else {
|
} else {
|
||||||
format ["<img image='%1' color='%2' align='center'/><br/><t color='%3' size='0.80' align='center' shadow='1' shadowColor='%4' shadowOffset='0.06'>%5</t>", _icon, _iconColor, _textColor, _shadowColor, "ace_breakLine" callExtension _text];
|
format ["<img image='%1' color='%2' align='center'/><br/><t color='%3' size='0.80' align='center' shadow='1' shadowColor='%4' shadowOffset='0.06'>%5</t>", _icon, _iconColor, _textColor, _shadowColor, "ace_break_line" callExtension _text];
|
||||||
};
|
};
|
||||||
|
|
||||||
//_ctrl ctrlSetStructuredText parseText _text;
|
//_ctrl ctrlSetStructuredText parseText _text;
|
||||||
|
@ -55,7 +55,7 @@ set(GLOBAL_SOURCES ${GLOBAL_RC})
|
|||||||
|
|
||||||
# Add extensions to build here
|
# Add extensions to build here
|
||||||
add_subdirectory(fcs)
|
add_subdirectory(fcs)
|
||||||
add_subdirectory(breakLine)
|
add_subdirectory(break_line)
|
||||||
add_subdirectory(advanced_ballistics)
|
add_subdirectory(advanced_ballistics)
|
||||||
|
|
||||||
message("Build Type: ${CMAKE_BUILD_TYPE}")
|
message("Build Type: ${CMAKE_BUILD_TYPE}")
|
@ -1,4 +1,4 @@
|
|||||||
set(ACE_EXTENSION_NAME "ace_breakLine")
|
set(ACE_EXTENSION_NAME "ace_break_line")
|
||||||
|
|
||||||
file(GLOB SOURCES *.h *.hpp *.c *.cpp)
|
file(GLOB SOURCES *.h *.hpp *.c *.cpp)
|
||||||
add_library( ${ACE_EXTENSION_NAME} SHARED ${GLOBAL_SOURCES} ${SOURCES})
|
add_library( ${ACE_EXTENSION_NAME} SHARED ${GLOBAL_SOURCES} ${SOURCES})
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* ace_breakLine.cpp
|
* ace_break_line.cpp
|
||||||
*
|
*
|
||||||
* Takes a string and insert as many line breaks as needed so it fits a given width
|
* Takes a string and insert as many line breaks as needed so it fits a given width
|
||||||
*
|
*
|
Loading…
Reference in New Issue
Block a user