Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

styles.h 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. // ----------------------------------------------------------------------
  2. //
  3. // Copyright (C) 2010 Fons Adriaensen <fons@linuxaudio.org>
  4. // Modified by falkTX on Jan 2015 for inclusion in Carla
  5. //
  6. // This program is free software; you can redistribute it and/or modify
  7. // it under the terms of the GNU General Public License as published by
  8. // the Free Software Foundation; either version 2 of the License, or
  9. // (at your option) any later version.
  10. //
  11. // This program is distributed in the hope that it will be useful,
  12. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. // GNU General Public License for more details.
  15. //
  16. // You should have received a copy of the GNU General Public License
  17. // along with this program; if not, write to the Free Software
  18. // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19. //
  20. // ----------------------------------------------------------------------
  21. #ifndef __STYLES_H
  22. #define __STYLES_H
  23. #include <clxclient.h>
  24. #include "rotary.h"
  25. namespace REV1 {
  26. enum
  27. {
  28. C_MAIN_BG, C_MAIN_FG,
  29. // C_TEXT_BG, C_TEXT_FG,
  30. NXFTCOLORS
  31. };
  32. enum
  33. {
  34. // F_TEXT, F_FILE,
  35. NXFTFONTS
  36. };
  37. extern int styles_init (X_display *disp, X_resman *xrm, const char *resdir);
  38. extern void styles_fini (X_display *disp);
  39. extern XftColor *XftColors [NXFTCOLORS];
  40. //extern XftFont *XftFonts [NXFTFONTS];
  41. extern X_textln_style tstyle1;
  42. extern XImage *revsect_img;
  43. extern XImage *eq1sect_img;
  44. extern XImage *eq2sect_img;
  45. extern XImage *mixsect_img;
  46. extern XImage *ambsect_img;
  47. extern RotaryImg r_delay_img;
  48. extern RotaryImg r_xover_img;
  49. extern RotaryImg r_rtlow_img;
  50. extern RotaryImg r_rtmid_img;
  51. extern RotaryImg r_fdamp_img;
  52. extern RotaryImg r_parfr_img;
  53. extern RotaryImg r_pargn_img;
  54. extern RotaryImg r_opmix_img;
  55. extern RotaryImg r_rgxyz_img;
  56. }
  57. #endif