From 777b3dd09d8486329e65410c7f8001f609aa09d6 Mon Sep 17 00:00:00 2001 From: rjc Date: Sat, 25 Apr 1998 02:07:03 +0000 Subject: [PATCH] Vocabulary additions for NavCenter appearance styles --- modules/rdf/include/vocab.h | 22 ++++++++++++++++++++++ modules/rdf/src/vocab.c | 26 ++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/modules/rdf/include/vocab.h b/modules/rdf/include/vocab.h index 096987238755..3828b8d0bba1 100644 --- a/modules/rdf/include/vocab.h +++ b/modules/rdf/include/vocab.h @@ -90,6 +90,28 @@ typedef struct _RDF_NCVocabStruct { RDF_Resource RDF_resultType; RDF_Resource RDF_HTMLType; RDF_Resource RDF_Command; + + /* NavCenter appearance styles */ + + RDF_Resource treeFGColor; + RDF_Resource treeBGColor; + RDF_Resource treeBGURL; + RDF_Resource showTreeConnections; + RDF_Resource treeConnectionFGColor; + RDF_Resource treeOpenTriggerIconURL; + RDF_Resource treeClosedTriggerIconURL; + RDF_Resource selectionFGColor; + RDF_Resource selectionBGColor; + RDF_Resource columnHeaderFGColor; + RDF_Resource columnHeaderBGColor; + RDF_Resource columnHeaderBGURL; + RDF_Resource showColumnHeaders; + RDF_Resource showColumnHeaderDividers; + RDF_Resource sortColumnFGColor; + RDF_Resource sortColumnBGColor; + RDF_Resource titleBarFGColor; + RDF_Resource titleBarBGColor; + RDF_Resource titleBarBGURL; } RDF_NCVocabStruct; typedef RDF_NCVocabStruct* RDF_NCVocab; diff --git a/modules/rdf/src/vocab.c b/modules/rdf/src/vocab.c index 9f89cb81c5a5..f9bf008d8c64 100644 --- a/modules/rdf/src/vocab.c +++ b/modules/rdf/src/vocab.c @@ -146,6 +146,32 @@ createNavCenterVocab () { gNavCenter->RDF_resultType = RDF_GetResource (gCoreDB, "resultType", true); gNavCenter->RDF_HTMLType = RDF_GetResource (gCoreDB, "HTMLPage", true); gNavCenter->RDF_Command = RDF_GetResource (gCoreDB, "Command", true); + + /* NavCenter appearance styles */ + + gNavCenter->treeFGColor = RDF_GetResource (gCoreDB, "treeFGColor", true); + gNavCenter->treeBGColor = RDF_GetResource (gCoreDB, "treeBGColor", true); + gNavCenter->treeBGURL = RDF_GetResource (gCoreDB, "treeBGURL", true); + gNavCenter->showTreeConnections = RDF_GetResource (gCoreDB, "showTreeConnections", true); + gNavCenter->treeConnectionFGColor = RDF_GetResource (gCoreDB, "treeConnectionFGColor", true); + gNavCenter->treeOpenTriggerIconURL = RDF_GetResource (gCoreDB, "treeOpenTriggerIconURL", true); + gNavCenter->treeClosedTriggerIconURL = RDF_GetResource (gCoreDB, "treeClosedTriggerIconURL", true); + + gNavCenter->selectionFGColor = RDF_GetResource (gCoreDB, "selectionFGColor", true); + gNavCenter->selectionBGColor = RDF_GetResource (gCoreDB, "selectionBGColor", true); + + gNavCenter->columnHeaderFGColor = RDF_GetResource (gCoreDB, "columnHeaderFGColor", true); + gNavCenter->columnHeaderBGColor = RDF_GetResource (gCoreDB, "columnHeaderBGColor", true); + gNavCenter->columnHeaderBGURL = RDF_GetResource (gCoreDB, "columnHeaderBGURL", true); + gNavCenter->showColumnHeaders = RDF_GetResource (gCoreDB, "showColumnHeaders", true); + gNavCenter->showColumnHeaderDividers = RDF_GetResource (gCoreDB, "showColumnHeaderDividers", true); + + gNavCenter->sortColumnFGColor = RDF_GetResource (gCoreDB, "sortColumnFGColor", true); + gNavCenter->sortColumnBGColor = RDF_GetResource (gCoreDB, "sortColumnBGColor", true); + + gNavCenter->titleBarFGColor = RDF_GetResource (gCoreDB, "titleBarFGColor", true); + gNavCenter->titleBarBGColor = RDF_GetResource (gCoreDB, "titleBarBGColor", true); + gNavCenter->titleBarBGURL = RDF_GetResource (gCoreDB, "titleBarBGURL", true); }