MCPcopy Create free account
hub / github.com/WheretIB/nullc / SetLineStyle

Method SetLineStyle

GUI/RichTextarea.cpp:799–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

797}
798
799bool RichTextarea::SetLineStyle(unsigned int id, HBITMAP img, const char *tooltipText)
800{
801 if(id >= LINE_STYLE_COUNT)
802 return false;
803 lStyle[id].leftImg = img;
804 strncpy(lStyle[id].tooltip, tooltipText, 127);
805 lStyle[id].tooltip[127] = 0;
806 return true;
807}
808
809// Function is used to reserve space in linear text buffer
810void TextareaData::ExtendLinearTextBuffer()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected