msg_attr.h

Go to the documentation of this file.
00001 /*
00002     msg_attr.h:
00003 
00004     Copyright (C) 2005 Istvan Varga
00005 
00006     This file is part of Csound.
00007 
00008     The Csound Library is free software; you can redistribute it
00009     and/or modify it under the terms of the GNU Lesser General Public
00010     License as published by the Free Software Foundation; either
00011     version 2.1 of the License, or (at your option) any later version.
00012 
00013     Csound is distributed in the hope that it will be useful,
00014     but WITHOUT ANY WARRANTY; without even the implied warranty of
00015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016     GNU Lesser General Public License for more details.
00017 
00018     You should have received a copy of the GNU Lesser General Public
00019     License along with Csound; if not, write to the Free Software
00020     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00021     02111-1307 USA
00022 */
00023 
00024 #ifndef CSOUND_MSG_ATTR_H
00025 #define CSOUND_MSG_ATTR_H
00026 
00027 /* message types (only one can be specified) */
00028 
00029 /* standard message */
00030 #define CSOUNDMSG_DEFAULT       (0x0000)
00031 /* error message (initerror, perferror, etc.) */
00032 #define CSOUNDMSG_ERROR         (0x1000)
00033 /* orchestra opcodes (e.g. printks) */
00034 #define CSOUNDMSG_ORCH          (0x2000)
00035 /* for progress display and heartbeat characters */
00036 #define CSOUNDMSG_REALTIME      (0x3000)
00037 /* warning messages */
00038 #define CSOUNDMSG_WARNING       (0x4000)
00039 
00040 /* format attributes (colors etc.), use the bitwise OR of any of these: */
00041 
00042 #define CSOUNDMSG_FG_BLACK      (0x0100)
00043 #define CSOUNDMSG_FG_RED        (0x0101)
00044 #define CSOUNDMSG_FG_GREEN      (0x0102)
00045 #define CSOUNDMSG_FG_YELLOW     (0x0103)
00046 #define CSOUNDMSG_FG_BLUE       (0x0104)
00047 #define CSOUNDMSG_FG_MAGENTA    (0x0105)
00048 #define CSOUNDMSG_FG_CYAN       (0x0106)
00049 #define CSOUNDMSG_FG_WHITE      (0x0107)
00050 
00051 #define CSOUNDMSG_FG_BOLD       (0x0008)
00052 #define CSOUNDMSG_FG_UNDERLINE  (0x0080)
00053 
00054 #define CSOUNDMSG_BG_BLACK      (0x0200)
00055 #define CSOUNDMSG_BG_RED        (0x0210)
00056 #define CSOUNDMSG_BG_GREEN      (0x0220)
00057 #define CSOUNDMSG_BG_ORANGE     (0x0230)
00058 #define CSOUNDMSG_BG_BLUE       (0x0240)
00059 #define CSOUNDMSG_BG_MAGENTA    (0x0250)
00060 #define CSOUNDMSG_BG_CYAN       (0x0260)
00061 #define CSOUNDMSG_BG_GREY       (0x0270)
00062 
00063  /* ------------------------------------------------------------------------ */
00064 
00065 #define CSOUNDMSG_TYPE_MASK     (0x7000)
00066 #define CSOUNDMSG_FG_COLOR_MASK (0x0107)
00067 #define CSOUNDMSG_FG_ATTR_MASK  (0x0088)
00068 #define CSOUNDMSG_BG_COLOR_MASK (0x0270)
00069 
00070 #endif      /* CSOUND_MSG_ATTR_H */
00071 

Generated on Tue Apr 14 11:00:49 2009 for Csound and CsoundAC by  doxygen 1.5.8