mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
CtrlCore: Massive fix of MT, Draw: Fixed DrawingDraw::Create for case when tehere are some data in DrawingDraw
git-svn-id: svn://ultimatepp.org/upp/trunk@1506 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
8c030b0c5a
commit
1205935960
16 changed files with 281 additions and 93 deletions
|
|
@ -560,9 +560,13 @@ bool IsEmptyImage(const Image& m)
|
|||
|
||||
Image GtkThemeIcon(const char *name, int size)
|
||||
{
|
||||
<<<<<<< .mine
|
||||
Image m = GetGTK(gtk__parent(), size, 0, name, GTK_THEMEICON, 0, 0);
|
||||
=======
|
||||
Image m = GetGTK(gtk__parent(), size ? GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
: GTK_ICON_SIZE_SMALL_TOOLBAR,
|
||||
0, name, GTK_THEMEICON, 0, 0);
|
||||
>>>>>>> .r1505
|
||||
Size sz = m.GetSize();
|
||||
int rsz = size ? 48 : 16;
|
||||
if(sz.cx > rsz || sz.cy > rsz)
|
||||
|
|
|
|||
Loading…
Reference in a new issue