/dports/x11-wm/pekwm/pekwm-release-0.2.0/src/ |
H A D | FontHandler.cc | 19 {{"X11", PFont::FONT_TYPE_X11}, 20 {"XFT", PFont::FONT_TYPE_XFT}, 21 {"XMB", PFont::FONT_TYPE_XMB}, 22 {nullptr, PFont::FONT_TYPE_NO}}; 55 PFont* 68 PFont *pfont = 0; in getFont() 84 case PFont::FONT_TYPE_XMB: in getFont() 89 case PFont::FONT_TYPE_XFT: in getFont() 94 case PFont::FONT_TYPE_X11: in getFont() 157 PFont::Color* [all …]
|
H A D | Theme.hh | 210 PFont *_font[FOCUSED_STATE_NO]; 299 PFont *_font; 300 PFont::Color *_color; 324 PFont *font; 325 PFont::Color *font_color; 397 PFont *_button_font; 398 PFont::Color *_button_color; 401 PFont *_title_font; 402 PFont::Color *_title_color; 403 PFont *_text_font; [all …]
|
H A D | FontHandler.hh | 26 PFont *getFont(const std::string &font); 27 void returnFont(PFont *font); 29 PFont::Color *getColor(const std::string &color); 30 void returnColor(PFont::Color *color); 33 void loadColor(const std::string &color, PFont::Color *font_color, bool fg); 36 std::vector<HandlerEntry<PFont*> > _fonts; 37 std::vector<HandlerEntry<PFont::Color*> > _colors;
|
H A D | PFont.hh | 24 class PFont class 59 PFont(void); 60 virtual ~PFont(void); 69 PFont::TrimType trim_type = FONT_TRIM_END); 87 virtual void setColor(PFont::Color* color) = 0; 100 class PFontX11 : public PFont { 111 virtual void setColor(PFont::Color *color); 122 class PFontXmb : public PFont { 133 virtual void setColor(PFont::Color *color); 145 class PFontXft : public PFont { [all …]
|
H A D | PFont.cc | 25 PFont::Color::Color(void) in Color() 33 PFont::Color::~Color(void) in ~Color() 46 PFont::PFont(void) : in PFont() function in PFont 53 PFont::~PFont(void) in ~PFont() 108 PFont::trim(std::string &text, PFont::TrimType trim_type, uint max_width) in trim() 233 : PFont(), in PFontX11() 341 PFontX11::setColor(PFont::Color *color) in setColor() 358 : PFont(), in PFontXmb() 491 PFontXmb::setColor(PFont::Color *color) in setColor() 508 : PFont(), in PFontXft() [all …]
|
/dports/x11-wm/pekwm/pekwm-release-0.2.0/test/ |
H A D | test_PFont.hh | 19 class MockPFont : public PFont { 26 virtual void setColor(PFont::Color*) { } in setColor() 101 font.trim(str, PFont::FONT_TRIM_END, 100); in testTrimEndNoTrim() 111 font.trim(str, PFont::FONT_TRIM_END, 50); in testTrimEndTrim() 123 font.trim(str, PFont::FONT_TRIM_END, 10); in testTrimEndNoSpace() 140 font.trim(str, PFont::FONT_TRIM_END, 45); in testTrimEndUTF8() 169 font.trim(str, PFont::FONT_TRIM_MIDDLE, 60); in testTrimMiddle()
|
/dports/graphics/processing/processing-1.5.1/modes/java/examples/Books/Processing Handbook/Illustrations/page_110/ |
H A D | page_110.pde | 9 println(PFont.list()); // List the available fonts 11 PFont font = createFont(s, 34); 12 //PFont font = createFont("ZigguratHTFBlack", 34);
|
/dports/www/cssed/cssed-0.4.0/scintilla/gtk/ |
H A D | PlatGTK.cxx | 172 static FontHandle *PFont(Font &f) { in PFont() function 432 delete PFont(*this); in Release() 1151 if (PFont(font_)->pfd) { in DrawTextBase() 1262 if (PFont(font_)->pfd) { in MeasureWidths() 1420 if (PFont(font_)->pfd) { in WidthText() 1467 if (PFont(font_)->pfd) { in WidthChar() 1499 int ascent = PFont(font_)->ascent; in Ascent() 1504 PFont(font_)->ascent = in Ascent() 1507 ascent = PFont(font_)->ascent; in Ascent() 1538 if (PFont(font_)->pfd) { in Descent() [all …]
|
/dports/graphics/processing/processing-1.5.1/modes/java/examples/Books/Processing Handbook/Illustrations/page_250/ |
H A D | page_250.pde | 7 println(PFont.list()); 9 PFont font = createFont(s, 24);
|
/dports/graphics/bonzomatic/Bonzomatic-2021-03-07/external/scintilla/gtk/ |
H A D | PlatGTK.cxx | 215 static FontHandle *PFont(Font &f) { in PFont() function 290 delete PFont(*this); in Release() 911 if (PFont(font_)->pfd) { in DrawTextBase() 997 if (PFont(font_)->pfd) { in MeasureWidths() 1113 if (PFont(font_)->pfd) { in WidthText() 1143 if (PFont(font_)->pfd) { in WidthChar() 1158 int ascent = PFont(font_)->ascent; in Ascent() 1162 PFont(font_)->ascent = in Ascent() 1165 ascent = PFont(font_)->ascent; in Ascent() 1177 if (PFont(font_)->pfd) { in Descent() [all …]
|
/dports/deskutils/presage/presage-0.9.1/apps/gtk/gprompter/scintilla/gtk/ |
H A D | PlatGTK.cxx | 215 static FontHandle *PFont(Font &f) { in PFont() function 290 delete PFont(*this); in Release() 911 if (PFont(font_)->pfd) { in DrawTextBase() 997 if (PFont(font_)->pfd) { in MeasureWidths() 1113 if (PFont(font_)->pfd) { in WidthText() 1143 if (PFont(font_)->pfd) { in WidthChar() 1158 int ascent = PFont(font_)->ascent; in Ascent() 1162 PFont(font_)->ascent = in Ascent() 1165 ascent = PFont(font_)->ascent; in Ascent() 1177 if (PFont(font_)->pfd) { in Descent() [all …]
|
/dports/graphics/processing/processing-1.5.1/modes/java/examples/Books/Processing Handbook/Illustrations/page_100/ |
H A D | page_100.pde | 9 println(PFont.list()); // List the available fonts 11 PFont font = createFont(s, 34);
|
/dports/x11-toolkits/p5-Prima/Prima-1.63/include/ |
H A D | guts.h | 53 extern PFont prima_font_mapper_save_font(const char * name, unsigned int style); 54 extern PFont prima_font_mapper_get_font(unsigned int fid );
|
/dports/graphics/processing/processing-1.5.1/modes/java/examples/Books/Processing Handbook/Illustrations/page_222/ |
H A D | page_222.pde | 10 println(PFont.list()); // Select a font from this list 12 PFont font = createFont(s, 34);
|
/dports/graphics/processing/processing-1.5.1/modes/java/libraries/serial/examples/SerialDuplex/ |
H A D | SerialDuplex.pde | 21 PFont myFont = createFont(PFont.list()[2], 14);
|
/dports/x11-toolkits/p5-Prima/Prima-1.63/unix/ |
H A D | apc_font.c | 973 PFont 974 apc_font_default( PFont f) in apc_font_default() 991 dump_font( PFont f) in dump_font() 1526 prima_core_font_pick( Handle self, PFont source, PFont dest) in prima_core_font_pick() 1609 apc_font_pick( Handle self, PFont source, PFont dest) in apc_font_pick() 1621 static PFont 1626 PFont fmtx = NULL; in spec_fonts() 1643 PFont fm; in spec_fonts() 1712 PFont 1719 PFont fmtx; in apc_fonts() [all …]
|
/dports/x11-toolkits/scintilla/scintilla/gtk/ |
H A D | PlatGTK.cxx | 114 FontHandle *PFont(const Font &f) noexcept { in PFont() function 692 if (PFont(font_)->pfd) { in DrawTextBase() 697 SetConverter(PFont(font_)->characterSet); in DrawTextBase() 779 if (PFont(font_)->pfd) { in MeasureWidths() 802 SetConverter(PFont(font_)->characterSet); in MeasureWidths() 834 SetConverter(PFont(font_)->characterSet); in MeasureWidths() 885 if (PFont(font_)->pfd) { in WidthText() 891 SetConverter(PFont(font_)->characterSet); in WidthText() 915 if (PFont(font_)->pfd) { in Ascent() 931 if (PFont(font_)->pfd) { in Descent() [all …]
|
/dports/devel/geany-legacy/geany-1.37.1/scintilla/gtk/ |
H A D | PlatGTK.cxx | 113 FontHandle *PFont(const Font &f) noexcept { in PFont() function 684 if (PFont(font_)->pfd) { in DrawTextBase() 689 SetConverter(PFont(font_)->characterSet); in DrawTextBase() 772 if (PFont(font_)->pfd) { in MeasureWidths() 795 SetConverter(PFont(font_)->characterSet); in MeasureWidths() 826 SetConverter(PFont(font_)->characterSet); in MeasureWidths() 877 if (PFont(font_)->pfd) { in WidthText() 883 SetConverter(PFont(font_)->characterSet); in WidthText() 907 if (PFont(font_)->pfd) { in Ascent() 923 if (PFont(font_)->pfd) { in Descent() [all …]
|
/dports/devel/geany/geany-1.38/scintilla/gtk/ |
H A D | PlatGTK.cxx | 113 FontHandle *PFont(const Font &f) noexcept { in PFont() function 684 if (PFont(font_)->pfd) { in DrawTextBase() 689 SetConverter(PFont(font_)->characterSet); in DrawTextBase() 772 if (PFont(font_)->pfd) { in MeasureWidths() 795 SetConverter(PFont(font_)->characterSet); in MeasureWidths() 826 SetConverter(PFont(font_)->characterSet); in MeasureWidths() 877 if (PFont(font_)->pfd) { in WidthText() 883 SetConverter(PFont(font_)->characterSet); in WidthText() 907 if (PFont(font_)->pfd) { in Ascent() 923 if (PFont(font_)->pfd) { in Descent() [all …]
|
/dports/editors/textadept/scintilla/gtk/ |
H A D | PlatGTK.cxx | 113 FontHandle *PFont(const Font &f) noexcept { in PFont() function 691 if (PFont(font_)->pfd) { in DrawTextBase() 696 SetConverter(PFont(font_)->characterSet); in DrawTextBase() 778 if (PFont(font_)->pfd) { in MeasureWidths() 801 SetConverter(PFont(font_)->characterSet); in MeasureWidths() 833 SetConverter(PFont(font_)->characterSet); in MeasureWidths() 884 if (PFont(font_)->pfd) { in WidthText() 890 SetConverter(PFont(font_)->characterSet); in WidthText() 914 if (PFont(font_)->pfd) { in Ascent() 930 if (PFont(font_)->pfd) { in Descent() [all …]
|
/dports/editors/scite/scintilla/gtk/ |
H A D | PlatGTK.cxx | 114 FontHandle *PFont(const Font &f) noexcept { in PFont() function 692 if (PFont(font_)->pfd) { in DrawTextBase() 697 SetConverter(PFont(font_)->characterSet); in DrawTextBase() 779 if (PFont(font_)->pfd) { in MeasureWidths() 802 SetConverter(PFont(font_)->characterSet); in MeasureWidths() 834 SetConverter(PFont(font_)->characterSet); in MeasureWidths() 885 if (PFont(font_)->pfd) { in WidthText() 891 SetConverter(PFont(font_)->characterSet); in WidthText() 915 if (PFont(font_)->pfd) { in Ascent() 931 if (PFont(font_)->pfd) { in Descent() [all …]
|
/dports/graphics/processing/processing-1.5.1/modes/android/examples/OpenGL/Blending/ |
H A D | Blending.pde | 15 PFont font = createFont(PFont.list()[0], 24);
|
/dports/x11-toolkits/p5-Prima/Prima-1.63/win32/ |
H A D | stock.c | 474 add_font_to_hash( const PFont key, const PFont font, Bool addSizeEntry) in add_font_to_hash() 569 PFont f; in font_alloc() 766 PFont f; in fep_register_mapper_fonts() 927 PFont 928 apc_font_default( PFont font) in apc_font_default() 963 PFont font; 1300 apc_font_pick( Handle self, PFont source, PFont dest) in apc_font_pick() 1316 PFont fm; in fep2() 1336 fm = ( PFont) malloc( sizeof( Font)); in fep2() 1355 PFont [all …]
|
H A D | menu.c | 323 PFont 324 apc_menu_default_font( PFont copyTo) in apc_menu_default_font() 337 PFont 338 apc_menu_get_font( Handle self, PFont font) in apc_menu_get_font() 350 apc_menu_set_font( Handle self, PFont font) in apc_menu_set_font() 610 PFont 611 apc_popup_default_font( PFont font) in apc_popup_default_font()
|
/dports/graphics/processing/processing-1.5.1/modes/java/examples/Books/Processing Handbook/Illustrations/page_326/ |
H A D | page_326.pde | 5 PFont f; 13 println(PFont.list()); // Select a font from this list
|