mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-28 06:12:53 -06:00
External context support in RichText / RichEdit
git-svn-id: svn://ultimatepp.org/upp/trunk@972 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
8085dfdde4
commit
178e234cf7
23 changed files with 173 additions and 52 deletions
|
|
@ -17,7 +17,7 @@ struct scImageMaker : LRUCache<Image>::Maker {
|
|||
bool paintonly;
|
||||
|
||||
virtual String Key() const {
|
||||
String q = m->Key();
|
||||
// String q = m->Key();
|
||||
return m->Key();
|
||||
}
|
||||
virtual int Make(Image& object) const {
|
||||
|
|
@ -33,6 +33,11 @@ struct scImageMaker : LRUCache<Image>::Maker {
|
|||
static int sMaxSize;
|
||||
static int sMaxSizeMax = 4000000;
|
||||
|
||||
void ClearMakeImageCache()
|
||||
{
|
||||
sImageCache().Clear();
|
||||
}
|
||||
|
||||
void SetMakeImageCacheMax(int m)
|
||||
{
|
||||
sMaxSizeMax = m;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue