Mercurial > projects > mde
comparison mde/font/FontTexture.d @ 170:e45226d3deae
Context menu services not applicable to the current type can now be hidden.
Added files missing from previous commits.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Mon, 29 Jun 2009 21:20:16 +0200 |
parents | 9f035cd139c6 |
children |
comparison
equal
deleted
inserted
replaced
169:bc1cf73dc835 | 170:e45226d3deae |
---|---|
457 static this() { | 457 static this() { |
458 mode = new EnumContent ("Font.mode", ["normal"[],"light","lcd","lcd_v","lcd_bgr","lcd_bgr_v"]); | 458 mode = new EnumContent ("Font.mode", ["normal"[],"light","lcd","lcd_v","lcd_bgr","lcd_bgr_v"]); |
459 lcdFilter = new EnumContent ("Font.lcdFilter", ["none"[],"default","light"]); | 459 lcdFilter = new EnumContent ("Font.lcdFilter", ["none"[],"default","light"]); |
460 defaultSize = new IntContent ("Font.defaultSize"); | 460 defaultSize = new IntContent ("Font.defaultSize"); |
461 defaultFont = new StringContent ("Font.defaultFont"); | 461 defaultFont = new StringContent ("Font.defaultFont"); |
462 mode.addCallback (delegate void(Content) { | 462 mode.addCallback (delegate void(IContent) { |
463 /* modeFlag should have one of the following values: | 463 /* modeFlag should have one of the following values: |
464 * FT_LOAD_TARGET_NORMAL (0x00000) | 464 * FT_LOAD_TARGET_NORMAL (0x00000) |
465 * FT_LOAD_TARGET_LIGHT (0x10000) | 465 * FT_LOAD_TARGET_LIGHT (0x10000) |
466 * FT_LOAD_TARGET_LCD (0x30000) | 466 * FT_LOAD_TARGET_LCD (0x30000) |
467 * FT_LOAD_TARGET_LCD_V (0x40000) | 467 * FT_LOAD_TARGET_LCD_V (0x40000) |