Rename breakLine to break_line

This commit is contained in:
KoffeinFlummi 2015-05-01 02:14:23 +02:00
parent 15f1680c20
commit 984a1fe337
6 changed files with 5 additions and 5 deletions

View File

@ -77,5 +77,5 @@ class ACE_Settings {
};
class ACE_Extensions {
extensions[] += {"ace_breakLine"};
extensions[] += {"ace_break_line"};
};

View File

@ -35,7 +35,7 @@ if(_icon == "") 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]
} 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;

View File

@ -55,7 +55,7 @@ set(GLOBAL_SOURCES ${GLOBAL_RC})
# Add extensions to build here
add_subdirectory(fcs)
add_subdirectory(breakLine)
add_subdirectory(break_line)
add_subdirectory(advanced_ballistics)
message("Build Type: ${CMAKE_BUILD_TYPE}")

View File

@ -1,4 +1,4 @@
set(ACE_EXTENSION_NAME "ace_breakLine")
set(ACE_EXTENSION_NAME "ace_break_line")
file(GLOB SOURCES *.h *.hpp *.c *.cpp)
add_library( ${ACE_EXTENSION_NAME} SHARED ${GLOBAL_SOURCES} ${SOURCES})

View File

@ -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
*