Lines Matching defs:node

311 NodeHasSavedState(const BNode* node)
314 return node->GetAttrInfo(kAttrWindowFrame, &info) == B_OK;
936 // look for background image info in the window's node
981 // look for background image info in the window's node
1112 BContainerWindow::GetLayoutState(BNode* node, BMessage* message)
1114 if (node == NULL || message == NULL)
1117 status_t result = node->InitCheck();
1122 node->RewindAttrs();
1124 while (node->GetNextAttrName(attrName) == B_OK) {
1126 if (node->GetAttrInfo(attrName, &info) != B_OK)
1141 if (node->ReadAttr(attrName, info.type, 0, buffer,
1153 BContainerWindow::SetLayoutState(BNode* node, const BMessage* message)
1155 status_t result = node->InitCheck();
1181 if (node->WriteAttr(name, type, 0, buffer,
1757 BContainerWindow::IsShowing(const node_ref* node) const
1759 return PoseView()->Represents(node);
3718 // this is our destination node, whatever it is for this window
3794 BContainerWindow::RestoreWindowState(AttributeStreamNode* node)
3796 if (node == NULL || fIsDesktop) {
3812 if (node->Read(rectAttributeName, 0, B_RECT_TYPE, sizeof(BRect), &frame)
3829 && node->Read(workspaceAttributeName, 0, B_INT32_TYPE, sizeof(uint32),
3837 int32 size = node->Contains(kAttrWindowDecor, B_RAW_TYPE);
3841 && node->Read(kAttrWindowDecor, 0, B_RAW_TYPE, size, buffer)
3905 BContainerWindow::SaveWindowState(AttributeStreamNode* node)
3912 ASSERT(node != NULL);
3924 // node is null if it already got deleted
3931 node->Write(rectAttributeName, 0, B_RECT_TYPE, sizeof(BRect), &frame);
3934 node->Write(workspaceAttributeName, 0, B_INT32_TYPE, sizeof(uint32),
3942 node->Write(kAttrWindowDecor, 0, B_RAW_TYPE, size, buffer);
3962 // node is null if it already got deleted
4242 WindowStateNodeOpener::SetTo(const BDirectory* node)
4249 fNode = new BDirectory(*node);