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.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. // ----------------------------------------------------------------------
  2. //
  3. // Copyright (C) 2011 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 BLS1 {
  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,
  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 *inputsect;
  43. extern XImage *shuffsect;
  44. extern XImage *lfshfsect;
  45. extern RotaryImg inpbal_img;
  46. extern RotaryImg hpfilt_img;
  47. extern RotaryImg shfreq_img;
  48. extern RotaryImg shgain_img;
  49. extern RotaryImg lffreq_img;
  50. extern RotaryImg lfgain_img;
  51. }
  52. #endif