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.

63 lines
1.6KB

  1. // ----------------------------------------------------------------------
  2. //
  3. // Copyright (C) 2011 Fons Adriaensen <fons@linuxaudio.org>
  4. //
  5. // This program is free software; you can redistribute it and/or modify
  6. // it under the terms of the GNU General Public License as published by
  7. // the Free Software Foundation; either version 2 of the License, or
  8. // (at your option) any later version.
  9. //
  10. // This program is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. // GNU General Public License for more details.
  14. //
  15. // You should have received a copy of the GNU General Public License
  16. // along with this program; if not, write to the Free Software
  17. // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18. //
  19. // ----------------------------------------------------------------------
  20. #ifndef __STYLES_H
  21. #define __STYLES_H
  22. #include <clxclient.h>
  23. #include "rotary.h"
  24. enum
  25. {
  26. C_MAIN_BG, C_MAIN_FG,
  27. C_TEXT_BG, C_TEXT_FG,
  28. NXFTCOLORS
  29. };
  30. enum
  31. {
  32. F_TEXT,
  33. NXFTFONTS
  34. };
  35. extern int styles_init (X_display *disp, X_resman *xrm, const char *resdir);
  36. extern void styles_fini (X_display *disp);
  37. extern XftColor *XftColors_bls1 [NXFTCOLORS];
  38. extern XftFont *XftFonts_bls1 [NXFTFONTS];
  39. extern X_textln_style tstyle1;
  40. extern XImage *inputsect;
  41. extern XImage *shuffsect;
  42. extern XImage *lfshfsect;
  43. extern RotaryImg inpbal_img;
  44. extern RotaryImg hpfilt_img;
  45. extern RotaryImg shfreq_img;
  46. extern RotaryImg shgain_img;
  47. extern RotaryImg lffreq_img;
  48. extern RotaryImg lfgain_img;
  49. #endif