mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-31 07:12:39 -06:00
Minor fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@1024 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
88f3eea469
commit
3a116f24bb
3 changed files with 1 additions and 46 deletions
|
|
@ -453,7 +453,7 @@ public:
|
|||
void Enter() {}
|
||||
void Leave() {}
|
||||
|
||||
struct Lock;
|
||||
class Lock;
|
||||
};
|
||||
|
||||
typedef Mutex StaticMutex;
|
||||
|
|
|
|||
|
|
@ -20,42 +20,6 @@ void CtrlsImageLook(Value *look, int i, const Image& image, int n)
|
|||
*look++ = ChLookWith(CtrlsImg::Get(i++), image);
|
||||
}
|
||||
|
||||
CtrlsImgLook& CtrlsImgLook::operator()(int i, int n)
|
||||
{
|
||||
while(n-- > 0)
|
||||
Add(CtrlsImg::Get(i++));
|
||||
return *this;
|
||||
}
|
||||
|
||||
CtrlsImgLook& CtrlsImgLook::operator()(int i, const Image& img, Color (*fn)(int i), int n)
|
||||
{
|
||||
for(int q = 0; q < n; q++)
|
||||
Add(ChLookWith(CtrlsImg::Get(i++), img, fn, q));
|
||||
return *this;
|
||||
}
|
||||
|
||||
CtrlsImgLook& CtrlsImgLook::operator()(int i, const Image& img, int n)
|
||||
{
|
||||
for(int q = 0; q < n; q++)
|
||||
Add(ChLookWith(CtrlsImg::Get(i++), img));
|
||||
return *this;
|
||||
}
|
||||
|
||||
CtrlsImgLook::CtrlsImgLook(int i, int n)
|
||||
{
|
||||
operator()(i, n);
|
||||
}
|
||||
|
||||
CtrlsImgLook::CtrlsImgLook(int i, const Image& img, Color (*fn)(int i), int n)
|
||||
{
|
||||
operator()(i, img, fn, n);
|
||||
}
|
||||
|
||||
CtrlsImgLook::CtrlsImgLook(int i, const Image& img, int n)
|
||||
{
|
||||
operator()(i, img, n);
|
||||
}
|
||||
|
||||
String DeAmp(const char *s)
|
||||
{
|
||||
String out;
|
||||
|
|
|
|||
|
|
@ -3,15 +3,6 @@ enum {
|
|||
CTRL_CHECKED, CTRL_HOTCHECKED
|
||||
};
|
||||
|
||||
struct CtrlsImgLook : Vector<Value> { // deprecated - remove after refactoring chameleon
|
||||
CtrlsImgLook& operator()(int i, int n = 4);
|
||||
CtrlsImgLook& operator()(int i, const Image& img, Color (*fn)(int i), int n = 4);
|
||||
CtrlsImgLook& operator()(int i, const Image& img, int n = 4);
|
||||
CtrlsImgLook(int i, int n = 4);
|
||||
CtrlsImgLook(int i, const Image& img, Color (*fn)(int i), int n = 4);
|
||||
CtrlsImgLook(int i, const Image& img, int n = 4);
|
||||
};
|
||||
|
||||
void CtrlsImageLook(Value *look, int i, int n = 4);
|
||||
void CtrlsImageLook(Value *look, int i, const Image& image, const Color *color, int n = 4);
|
||||
void CtrlsImageLook(Value *look, int i, const Image& image, int n = 4);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue