18#ifndef INCLUDED_CGUISIZE
19#define INCLUDED_CGUISIZE
This class represents a rectangle relative to a parent rectangle The value can be initialized from a ...
Definition: CGUISize.h:30
bool operator==(const CGUISize &other) const
Definition: CGUISize.h:65
void ToJSVal(const ScriptRequest &rq, JS::MutableHandleValue ret) const
Definition: CGUISize.cpp:146
CGUISize()
Definition: CGUISize.cpp:28
CRect GetSize(const CRect &parent) const
Get client area rectangle when the parent is given.
Definition: CGUISize.cpp:43
static CGUISize Full()
Definition: CGUISize.cpp:38
CRect pixel
Pixel modifiers.
Definition: CGUISize.h:40
bool FromJSVal(const ScriptRequest &rq, JS::HandleValue v)
Definition: CGUISize.cpp:181
bool FromString(const CStr8 &Value)
The value can be set from a string looking like:
Definition: CGUISize.cpp:60
CRect percent
Percent modifiers.
Definition: CGUISize.h:43
Rectangle class used for screen rectangles.
Definition: Rect.h:31
Spidermonkey maintains some 'local' state via the JSContext* object.
Definition: ScriptRequest.h:60