glcompset.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*************************************************************************
  2. * Copyright (c) 2011 AT&T Intellectual Property
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * https://www.eclipse.org/legal/epl-v10.html
  7. *
  8. * Contributors: Details at https://graphviz.org
  9. *************************************************************************/
  10. /*Open GL basic component set
  11. includes glPanel,glCompButton,glCompCustomButton,clCompLabel,glCompStyle
  12. */
  13. #pragma once
  14. #include <glcomp/glcompfont.h>
  15. #include <glcomp/glcomptextpng.h>
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. void glCompInitCommon(glCompObj *childObj, glCompObj *parentObj, float x,
  20. float y);
  21. void glCompEmptyCommon(glCompCommon * c);
  22. extern glCompSet *glCompSetNew(int w, int h);
  23. extern void glCompSetDraw(glCompSet *s);
  24. extern void glcompsetUpdateBorder(glCompSet * s, int w, int h);
  25. extern void glCompDrawBegin(void);
  26. extern void glCompDrawEnd(void);
  27. extern void glCompSetAddObj(glCompSet * s, glCompObj * obj);
  28. #ifdef __cplusplus
  29. }
  30. #endif