From 73345c7dc06a6488f34d4a76906a62171a519278 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Tue, 5 Nov 2019 19:46:50 +0300 Subject: [texo] Medium has been changed. --- src/texo.hpp | 55 ++++++++++++++----------------------------------------- 1 file changed, 14 insertions(+), 41 deletions(-) (limited to 'src/texo.hpp') diff --git a/src/texo.hpp b/src/texo.hpp index 82c384e..b8ae394 100644 --- a/src/texo.hpp +++ b/src/texo.hpp @@ -1,6 +1,5 @@ #ifndef TEXO_INCLUDED_TEXO #define TEXO_INCLUDED_TEXO -// TODO: lists & maybe tables #include @@ -10,57 +9,35 @@ struct Texo { char c; }; + /* * Texo Blocks */ struct TexoHeader { - TexoHeader(int level, bool closing = false); - int level; // Number >= 1, bigger for bigger. - bool closing; + TexoHeader(int level); + int level; // Number >= 1, bigger for bigger. }; -struct TexoParagraph { - TexoParagraph(bool closing = false); - bool closing; -}; +struct TexoParagraph {}; -struct TexoCode { - TexoCode(bool closing = false); - bool closing; -}; +struct TexoCode {}; + +struct TexoQuote {}; -struct TexoQuote { - TexoQuote(bool closing = false); - bool closing; -}; /* * Texo Decorators */ -struct TexoMono { - TexoMono(bool closing = false); - bool closing; -}; +struct TexoMono {}; -struct TexoBold { - TexoBold(bool closing = false); - bool closing; -}; +struct TexoBold {}; -struct TexoItalic { - TexoItalic(bool closing = false); - bool closing; -}; +struct TexoItalic {}; -struct TexoUnderline { - TexoUnderline(bool closing = false); - bool closing; -}; +struct TexoUnderline {}; + +struct TexoStrike {}; -struct TexoStrike { - TexoStrike(bool closing = false); - bool closing; -}; /* * Texo Signals @@ -78,11 +55,7 @@ struct TexoLink { ScriptVariable title; }; -struct TexoLineBreak { -}; - -struct TexoHorizontalRule { -}; +struct TexoHorizontalRule {}; #endif -- cgit v1.2.3