gnr_theme_macros.m4 313 B

1234567891011121314151617
  1. dnl the C pre-processor is not so good, so let's use m4.
  2. divert(-1)
  3. define(MKCURR, `struct color *curr_$1 = &theme_def.$1;')
  4. divert(0)dnl
  5. MKCURR(usrname)
  6. MKCURR(sysusername)
  7. MKCURR(msg)
  8. MKCURR(sysmsg)
  9. MKCURR(sid)
  10. MKCURR(lvl)
  11. MKCURR(time)
  12. MKCURR(relay)
  13. MKCURR(errmsg)
  14. MKCURR(helpcmd)
  15. MKCURR(helpmsg)
  16. MKCURR(cqd)