Parse colour commands. More...
Go to the source code of this file.
Typedefs | |
typedef enum CommandResult(* | parser_callback_t) (struct Buffer *buf, struct Buffer *s, struct AttrColor *ac, struct Buffer *err) |
Functions | |
enum CommandResult | mutt_parse_color (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
Parse the 'color' command - Implements Command::parse() -. | |
enum CommandResult | mutt_parse_mono (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
Parse the 'mono' command - Implements Command::parse() -. | |
enum CommandResult | mutt_parse_uncolor (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
Parse the 'uncolor' command - Implements Command::parse() -. | |
enum CommandResult | mutt_parse_unmono (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
Parse the 'unmono' command - Implements Command::parse() -. | |
void | get_colorid_name (unsigned int color_id, struct Buffer *buf) |
Get the name of a color id. | |
Parse colour commands.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file command2.h.
typedef enum CommandResult(* parser_callback_t) (struct Buffer *buf, struct Buffer *s, struct AttrColor *ac, struct Buffer *err) |
Definition at line 1 of file command2.h.
void get_colorid_name | ( | unsigned int | cid, |
struct Buffer * | buf | ||
) |
Get the name of a color id.
cid | Colour, e.g. MT_COLOR_HEADER |
buf | Buffer for result |
Definition at line 128 of file command.c.