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.

71 lines
1.8KB

  1. // ----------------------------------------------------------------------
  2. //
  3. // Copyright (C) 2010-2014 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 "button.h"
  25. #include "rotary.h"
  26. namespace AT1 {
  27. enum
  28. {
  29. C_MAIN_BG, C_MAIN_FG,
  30. C_TEXT_BG, C_TEXT_FG,
  31. NXFTCOLORS
  32. };
  33. enum
  34. {
  35. F_TEXT,
  36. F_BUTT,
  37. NXFTFONTS
  38. };
  39. extern int styles_init (X_display *disp, X_resman *xrm, const char *resdir);
  40. extern void styles_fini (X_display *disp);
  41. extern XftColor *XftColors [NXFTCOLORS];
  42. extern XftFont *XftFonts [NXFTFONTS];
  43. extern X_textln_style tstyle1;
  44. extern X_button_style bstyle1;
  45. extern XImage *notesect_img;
  46. extern XImage *ctrlsect_img;
  47. extern ButtonImg b_midi_img;
  48. extern ButtonImg b_note_img;
  49. extern RotaryGeom r_tune_geom;
  50. extern RotaryGeom r_filt_geom;
  51. extern RotaryGeom r_bias_geom;
  52. extern RotaryGeom r_corr_geom;
  53. extern RotaryGeom r_offs_geom;
  54. }
  55. #endif