From 7b52cc13af4e85f1ca2deb6b6c77de9c95ea0dcf Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 17 Oct 2008 06:10:33 +0000 Subject: First commit - moving from LuaForge to SourceForge --- html/wb/.cvsignore | 2 + html/wb/make_hh.lua | 274 +++++++++++ html/wb/template_index.html | 28 ++ html/wb/template_ssSearch.html | 22 + html/wb/template_wb_bar.html | 26 + html/wb/template_wb_title.html | 64 +++ html/wb/template_wb_tree.html | 220 +++++++++ html/wb/wb2hh.bat | 29 ++ html/wb/wb_build.bat | 1 + html/wb/wb_build.lua | 364 ++++++++++++++ html/wb/wb_usr.lua | 1043 ++++++++++++++++++++++++++++++++++++++++ 11 files changed, 2073 insertions(+) create mode 100644 html/wb/.cvsignore create mode 100644 html/wb/make_hh.lua create mode 100644 html/wb/template_index.html create mode 100644 html/wb/template_ssSearch.html create mode 100644 html/wb/template_wb_bar.html create mode 100644 html/wb/template_wb_title.html create mode 100644 html/wb/template_wb_tree.html create mode 100644 html/wb/wb2hh.bat create mode 100644 html/wb/wb_build.bat create mode 100644 html/wb/wb_build.lua create mode 100644 html/wb/wb_usr.lua (limited to 'html/wb') diff --git a/html/wb/.cvsignore b/html/wb/.cvsignore new file mode 100644 index 0000000..2f42317 --- /dev/null +++ b/html/wb/.cvsignore @@ -0,0 +1,2 @@ +wb_en.hhp +wb_tree_en.hhc \ No newline at end of file diff --git a/html/wb/make_hh.lua b/html/wb/make_hh.lua new file mode 100644 index 0000000..c7a5b6c --- /dev/null +++ b/html/wb/make_hh.lua @@ -0,0 +1,274 @@ +--------------------------------------------------------------------- +-- This program converts from Tecgraf's WebBook to HTML Help Project Files. +-- by Mark Stroetzel Glasberg and Antonio Scuri +-- 09 Dec, 2004 +--------------------------------------------------------------------- + +languages_description = { + en = "0x0409 English - United States", + es = "0x040A Spanish - Standard", + fr = "0x040C French - Standard", + de = "0x0407 German - Standard", +-- pt = "0x0816 Portuguese - Standard", + pt = "0x0416 Portuguese - Brazil", + it = "0x0410 Italian - Standard" +} + +-- INITIALIZATION --------------------------------------------------- + +function isinlist(lng, list) + local i = 1 + local n = #list + while i <= n do + if list[i] == lng then + return 1 + end + i = i + 1; + end + return nil +end + +-- BASIC FUNCTIONS -------------------------------------------------- + +function out(string) + file:write(string) +end + +function outln(string) + local i = ident + 1 + while i>0 do + file:write(" ") + i = i - 1 + end + file:write(string.."\n") +end + +-- HHP FILE FUNCTIONS ------------------------------------------------ + +files = {} + +function add2files(v) + if v then + -- only up to "#" + local j = string.find(v, "#") + if j then + f = string.sub(v, 0, j-1) + else + f = v + end + + files[f] = f + end +end + +function writehhpheader() + out("[OPTIONS]\n") + outln("Binary Index=No") + outln("Compatibility=1.0") + outln("Compiled file=" .. wb_usr.file_title .. "_" .. lng .. ".chm") + outln("Contents file=wb_tree" .. "_" .. lng .. ".hhc") + outln("Default topic=" .. lng .. "/" .. wb_usr.tree.link) + outln("Display compile notes=Yes") + outln("Display compile progress=Yes") + outln("Full-text search=Yes") + outln("Language="..languages_description[lng]) + outln("Title="..wb_usr.messages[lng].title) + out("\n") + out("[FILES]\n") + outln(lng .. "/" .. wb_usr.tree.link) +end + +function writehhpfooter() + local tmp = [[ +[INFOTYPES] + ]] + out(tmp) +end + +function writehhpcenter() + if (not files) then return end + + local v = next(files, nil) + while v ~= nil do + outln(dir..v) + v = next(files, v) + end +end + +function writehhp() + writehhpheader() + writehhpcenter() + writehhpfooter() +end + + +-- HHC FILE FUNCTIONS ------------------------------------------------ + +function writeheader() + out("\n") + out("\n") + out("\n") + out("\n") + out("\n") + out("\n") + out("\n") + out("\n") + out(" \n") + out("\n") + out("\n") +end + +function writesubitems(tree, mainlink) + if (not tree) then + return + end + local i = 1 + local n = #tree + while i <= n do + writetopic(tree[i], mainlink) + i = i + 1 + end + ident = ident - 1 +end + +-- mainlink is the link of the father -> if no link is specified +-- this is the one that is used. +function writetopic(t, mainlink) + local link + local topic_name + + add2files(mainlink) + + if t.name == nil then + print("ERROR: Title is nil.") + return + end + + if (t.name[lng]) then + topic_name = t.name[lng] + else + topic_name = t.name["nl"] + end + + if topic_name == nil then + print("ERROR: Title is nil in language [" .. lng .. "].") + return + end + + if t.link and t.link ~= "" then + link = t.link + else + link = nil + end + + add2files(link) + + if t.bookmark then + if link == nil and mainlink == nil then + print("Error saving bookmark!!!") + return + end + + if link then + linkB = link .. "#" .. t.bookmark + else + linkB = mainlink .. "#" .. t.bookmark + end + else + linkB = nil + end + + outln("
  • ") + outln("") + if linkB then + outln("") + else + if link then + outln("") + end + end + if useimage == 1 then + if t.folder then + if ident == 0 then + outln("") + else + outln("") + end + else + outln("") + end + end + outln("") + + -- Write folder -- + if t.folder then + ident = ident + 1 + outln("") + end + +end + +function writetopics(tree) + if (not tree) then return end + local i = 1; + local n = #tree + while i <= n do + outln("") + i = i + 1 + end +end + +-- MAIN ------------------------------------------------------------- + +-- lng -> from the command line + +dofile("wb_usr.lua") + +if (not arg[1]) then + error("Missing language parameter.") +end + +lng = arg[1] +dir = lng.."/" +ident = 0 +useimage = 1 -- Use images based on given information +file = nil + +print("Writing \"wb_tree" .. "_" .. lng .. ".hhc\" file.") +file = io.open("wb_tree" .. "_" .. lng .. ".hhc", "w") +writeheader() +writetopics(wb_usr.tree.folder) +writeend() +file:close() + +if ident ~= 0 then + print("Ident not correct!") +end + +print("Writing \"wb" .. "_" .. lng .. ".hhp\" file.") +file = io.open("wb" .. "_" .. lng .. ".hhp", "w") +writehhp() +file:close() + +print("done.") + diff --git a/html/wb/template_index.html b/html/wb/template_index.html new file mode 100644 index 0000000..75c72e0 --- /dev/null +++ b/html/wb/template_index.html @@ -0,0 +1,28 @@ + + + + + +WB_TITLE + + + + + + + + + + + + + <body> + + <p>This page uses frames, but your browser doesn&#39;t support them.</p> + + </body> + + + + diff --git a/html/wb/template_ssSearch.html b/html/wb/template_ssSearch.html new file mode 100644 index 0000000..23d93ea --- /dev/null +++ b/html/wb/template_ssSearch.html @@ -0,0 +1,22 @@ + + +ssSearch + + + +

    WB_SEARCH

    +
    +
    + + + + + + + + + + +
    +
    + diff --git a/html/wb/template_wb_bar.html b/html/wb/template_wb_bar.html new file mode 100644 index 0000000..46b98d8 --- /dev/null +++ b/html/wb/template_wb_bar.html @@ -0,0 +1,26 @@ + + + + + Bar + + + + + + + + diff --git a/html/wb/template_wb_title.html b/html/wb/template_wb_title.html new file mode 100644 index 0000000..e35662c --- /dev/null +++ b/html/wb/template_wb_title.html @@ -0,0 +1,64 @@ + + + +Title + + + + + + + + + + + + + + +
    WB_BAR_TITLE + SimpleSearch + +
    + + +
    + Google + + + + +
    +
    + © WB_COPYRIGHT_NAME +
    + (WB_CONTACT) +
    + + + + diff --git a/html/wb/template_wb_tree.html b/html/wb/template_wb_tree.html new file mode 100644 index 0000000..4e45163 --- /dev/null +++ b/html/wb/template_wb_tree.html @@ -0,0 +1,220 @@ + + + + + Tree + + + + + + +
    diff --git a/html/wb/wb2hh.bat b/html/wb/wb2hh.bat new file mode 100644 index 0000000..94c4459 --- /dev/null +++ b/html/wb/wb2hh.bat @@ -0,0 +1,29 @@ +@echo off + +Echo Building... +lua5.1 make_hh.lua %1 +Echo . +pause + +Echo Preparing... +move wb_%1.hhp .. +move wb_tree_%1.hhc .. +cd .. +move download download.old +Echo . +pause + +Echo Compiling... +hhc wb_%1.hhp +Echo . +pause + +Echo Finishing... +move wb_%1.hhp wb +move wb_tree_%1.hhc wb +move download.old download +move /y *.chm download +cd wb +Echo . + +Echo Done. diff --git a/html/wb/wb_build.bat b/html/wb/wb_build.bat new file mode 100644 index 0000000..9cf43fc --- /dev/null +++ b/html/wb/wb_build.bat @@ -0,0 +1 @@ +@lua5.1 wb_build.lua diff --git a/html/wb/wb_build.lua b/html/wb/wb_build.lua new file mode 100644 index 0000000..1963158 --- /dev/null +++ b/html/wb/wb_build.lua @@ -0,0 +1,364 @@ + +dofile("wb_usr.lua") + +lngCount = nil +lngSuffix = nil +lngIndex = nil +lngNext = nil +linkCount = 1 + +function readFile(filename) + local file = io.open(filename) + local text = file:read("*a") + file:close() + return text +end + +function writeFile(filename, text) + local file = io.open(filename, "w") + file:write(text) + file:close() +end + +-- ##################################################################### + +htmlFiles = {} + +function addHtmlFile(v) + if v then + -- only up to "#" + local j = string.find(v, "#") + if j then + f = string.sub(v, 0, j-1) + else + f = v + end + + htmlFiles[f] = f + end +end + +-- ##################################################################### + +function writeIndexFile() + print("Writing \"../index"..lngSuffix..".html\".") + + local wb_index = readFile("template_index.html") + + wb_index = string.gsub(wb_index, "WB_TITLE", wb_usr.messages[lngIndex].title) + wb_index = string.gsub(wb_index, "WB_START_SIZE", wb_usr.start_size) + wb_index = string.gsub(wb_index, "WB_START_PAGE", lngIndex.."/"..wb_usr.tree.link) + if (lngCount > 1) then + wb_index = string.gsub(wb_index, "WB_LNG", lngSuffix) + else + wb_index = string.gsub(wb_index, "WB_LNG", "") + end + + writeFile("../index"..lngSuffix..".html", wb_index) +end + +-- ##################################################################### + +function writeTitleFile() + print("Writing \"../wb_title"..lngSuffix..".html\".") + + local wb_title = readFile("template_wb_title.html") + + wb_title = string.gsub(wb_title, "WB_BAR_TITLE", wb_usr.messages[lngIndex].bar_title) + wb_title = string.gsub(wb_title, "WB_TITLE_BGCOLOR", wb_usr.title_bgcolor) + wb_title = string.gsub(wb_title, "WB_SEARCH_LINK", wb_usr.search_link) + wb_title = string.gsub(wb_title, "WB_COPYRIGHT_LINK", wb_usr.copyright_link) + wb_title = string.gsub(wb_title, "WB_COPYRIGHT_NAME", wb_usr.copyright_name) + wb_title = string.gsub(wb_title, "WB_CONTACT", wb_usr.contact) + + if (lngCount > 1) then + wb_title = string.gsub(wb_title, "WB_LNG", lngSuffix) + else + wb_title = string.gsub(wb_title, "WB_LNG", "") + end + + writeFile("../wb_title"..lngSuffix..".html", wb_title) +end + +-- ##################################################################### + +function writeIndent(file, level) + -- base identation + file:write(" ") + + for i = 1, level*2, 1 do + file:write(" ") + end +end + +function getNodeName(node) + local name = nil + if (node.name[lngIndex]) then + name = node.name[lngIndex] + else + name = node.name["nl"] + end + + if not name then + error("Name not found.") + end + + return name +end + +function writeNode(file, node, opened, level, folder_index, folder_suffix, node_suffix, child_prefix) + if (node.folder) then -- folder + -- box image + writeIndent(file, level) + file:write("

    ") + + folder_suffix = folder_suffix .. "." .. folder_index + + file:write(child_prefix.."") + + if (node.link) then + file:write(""..getNodeName(node).."") + addHtmlFile(node.link) + linkCount = linkCount + 1 + else + file:write(" "..getNodeName(node)) + end + + file:write("

    \n") + + -- folder div + writeIndent(file, level) + if (opened) then + file:write("
    \n") + else + file:write("
    \n") + end + + local n = #(node.folder) + local next_folder_index = 0 + local next_node_suffix = "" + local next_child_prefix = "" + if (node_suffix == "last") then + next_child_prefix = "" + end + for i = 1, n, 1 do + if (i == n) then + next_node_suffix = "last" + end + if (node.folder[i].folder) then + next_folder_index = next_folder_index + 1 + end + writeNode(file, node.folder[i], false, level+1, next_folder_index, folder_suffix, next_node_suffix, child_prefix..next_child_prefix) + end + + writeIndent(file, level) + file:write("
    \n") + else -- leaf + if (node.link and node.link ~= "") then -- normal leaf + writeIndent(file, level) + file:write("

    "..child_prefix..""..getNodeName(node).."

    \n") + addHtmlFile(node.link) + linkCount = linkCount + 1 + else -- separator leaf + writeIndent(file, level) + file:write("

    ") + + local sep_child_prefix = string.gsub(child_prefix, "/vertline", "/sepvertline") + sep_child_prefix = string.gsub(sep_child_prefix, "/blank", "/sepblank") + + file:write(sep_child_prefix.."

    \n") + end + end +end + +function writeTree(file) + -- root node + file:write("

    "..getNodeName(wb_usr.tree).."

    \n") + addHtmlFile(wb_usr.tree.link) + + local folder = wb_usr.tree.folder + local n = #folder + local node_suffix = "" + local folder_index = 0 + for i = 1, n, 1 do + if (i == n) then + node_suffix = "last" + end + if (folder[i].folder) then + folder_index = folder_index + 1 + end + if (i == 1 and wb_usr.start_open) then + writeNode(file, folder[i], true, 1, folder_index, "", node_suffix, "") + else + writeNode(file, folder[i], false, 1, folder_index, "", node_suffix, "") + end + end +end + +function writeTreeFile() + print("Writing \"../wb_tree"..lngSuffix..".html\".") + + local file = io.open("../wb_tree"..lngSuffix..".html", "w") + + -- Write Header + local wb_tree = readFile("template_wb_tree.html") + file:write(wb_tree) + + -- Write Tree Nodes and Leafs + writeTree(file) + + -- Write Footer + file:write("
    \n") + file:write("\n") + file:write("\n") + + file:close() +end + +-- ##################################################################### + +lngMessages = +{ + search= { + en= "Simple Search", + pt= "Busca Simples", + es= "Busca Simples", + }, + exp_all= { + en= "Expand All Nodes", + pt= "Expande Todos os Nós", + es= "Ensanchar Todos Nodos", + }, + cont_all= { + en= "Contract All Nodes", + pt= "Contrai Todos os Nós", + es= "Contrato Todos Nodos", + }, + sync= { + en= "Sync Tree with Contents", + pt= "Sincroniza Árvore com Conteúdo", + es= "Sincroniza Árbol con el Contenido", + }, + lang= { + en= "Switch Language", + pt= "Troca Idioma", + es= "Cambie Idioma", + }, + next= { + en= "Next Link", + pt= "Próximo Link", + es= "Próximo Link", + }, + prev= { + en= "Previous Link", + pt= "Link Anterior", + es= "Link Anterior", + }, +} + +function writeBarFile() + print("Writing \"../wb_bar"..lngSuffix..".html\".") + + local file = io.open("../wb_bar"..lngSuffix..".html", "w") + + local wb_bar = readFile("template_wb_bar.html") + + wb_bar = string.gsub(wb_bar, "WB_EXPALL_ALT", lngMessages.exp_all[lngIndex]) + wb_bar = string.gsub(wb_bar, "WB_CONTALL_ALT", lngMessages.cont_all[lngIndex]) + wb_bar = string.gsub(wb_bar, "WB_SYNC_ALT", lngMessages.sync[lngIndex]) + wb_bar = string.gsub(wb_bar, "WB_NEXT_ALT", lngMessages.next[lngIndex]) + wb_bar = string.gsub(wb_bar, "WB_PREV_ALT", lngMessages.prev[lngIndex]) + + if (lngCount > 1) then + local lng_button = "" + lng_button = lng_button .. "\""..lngMessages.lang[lngIndex].."\"" + wb_bar = string.gsub(wb_bar, "WB_LNG_BUTTON", lng_button) + else + wb_bar = string.gsub(wb_bar, "WB_LNG_BUTTON", "") + end + + file:write(wb_bar) + file:close() +end + +-- ##################################################################### + +function writeSearchFile() + print("Writing \"../ssSearch"..lngSuffix..".html\".") + + local file = io.open("../ssSearch"..lngSuffix..".html", "w") + + local wb_search = readFile("template_ssSearch.html") + + wb_search = string.gsub(wb_search, "WB_SEARCH", lngMessages.search[lngIndex]) + + if (lngCount > 1) then + wb_search = string.gsub(wb_search, "WB_LNG", lngSuffix) + else + wb_search = string.gsub(wb_search, "WB_LNG", "") + end + + file:write(wb_search) + file:close() +end + +function writeSearchIndexFile() + print("Writing \"../wb_search"..lngSuffix..".txt\".") + + local file = io.open("../wb_search"..lngSuffix..".txt", "w") + + local v = next(htmlFiles, nil) + while v ~= nil do + file:write(lngIndex.."/"..v.."\n") + v = next(htmlFiles, v) + end + + file:close() +end + +-- ##################################################################### + +lngCount = 0 +local first_name = nil +local prev_elem = nil +for name, elem in pairs(wb_usr.messages) do + if (lngCount == 0) then + first_name = name + end + lngCount = lngCount + 1 + if (prev_elem) then + prev_elem.next = name + end + prev_elem = elem +end +prev_elem.next = first_name + +print("Building...") + +for name, elem in pairs(wb_usr.messages) do + lngIndex = name + lngNext = elem.next + + if (lngCount > 1) then + lngSuffix = "_"..lngIndex + else + lngSuffix = "" + end + + writeIndexFile() + writeTitleFile() + writeBarFile() + writeTreeFile() + writeSearchFile() + writeSearchIndexFile() +end + +print("Done.") diff --git a/html/wb/wb_usr.lua b/html/wb/wb_usr.lua new file mode 100644 index 0000000..bcbaeec --- /dev/null +++ b/html/wb/wb_usr.lua @@ -0,0 +1,1043 @@ +wb_usr = { + contact = "cd@tecgraf.puc-rio.br", + title_bgcolor = "#3366CC", + copyright_link = "http://www.tecgraf.puc-rio.br", + search_link = "http://www.tecgraf.puc-rio.br/cd", + start_size = "180", + langs = {"en"}, + copyright_name = "Tecgraf/PUC-Rio", + file_title = "cd", + start_open = "1" +} + +wb_usr.messages = { + en = { + bar_title = "CD - Version 5.1", + title = "CD - Canvas Draw", + } +} + +wb_usr.tree = +{ + name= {nl= "CD"}, + link= "home.html", + folder= + { + { + name= {en= "Product", pt= "Produto"}, + link= "prod.html", + folder= + { + { + name= {en= "Overview", pt= "Visão Geral"}, + link= "prod.html#Overview" + }, + { + name= {en= "Availability", pt= "Disponibilidade"}, + link= "prod.html#Availability" + }, + { + name= {en= "Support", pt= "Suporte"}, + link= "prod.html#Suport" + }, + { + name= {en= "Credits", pt= "Créditos"}, + link= "prod.html#Acknowledgments" + }, + { + name= {en= "Documentation", pt= "Documentação"}, + link= "prod.html#About" + }, + { link= "", name= {en= "" } }, + { + name= {nl= "Copyright/License"}, + link= "copyright.html" + }, + { + name= {nl= "Download"}, + link= "download.html", + folder= + { + { + name= {en= "Library Download Tips"}, + link= "download_tips.html" + } + } + }, + { + name= {nl= "CVS"}, + link= "cvs.html" + }, + { + name= {en= "History", pt= "Histórico"}, + link= "history.html" + }, + { + name= {en= "To Do", pt= "Pendências"}, + link= "to_do.html" + }, + { + name= {en= "Comparing", pt= "Outras Bibliotecas Gráficas"}, + link= "toolkits.html" + } + } + }, + { + name= {en= "Guide", pt= "Guia"}, + link= "guide.html", + folder= + { + { + name= {en= "Getting Started", pt= "Notas de Implementação"}, + link= "guide.html#start" + }, + { + name= {en= "Building Applications", pt= "Arquivos de Inclusão"}, + link= "guide.html#buildapp" + }, + { name= {en= "Building the Library"}, link= "guide.html#buildlib" }, + { + name= {en= "Environment Variables", pt= "Variável de Ambiente"}, + link= "guide.html#Environment" + }, + { + name= {en= "Implementing a Driver", pt= "Implementando um Driver"}, + link= "guide.html#NewDriver" + }, + { + name= {en= "Intercepting Primitives", pt= "Interceptando Primitivas"}, + link= "guide.html#Play" + }, + { + name= {en= "IUP Compatibility", pt= "Uso com a Biblioteca IUP"}, + link= "guide.html#IUP" + }, + { link= "", name= {en= "" } }, + { + name= {en= "Internal Architecture", pt= "Arquitetura Interna"}, + link= "internal.html" + }, + { + name= {en= "Samples", pt= "Exemplos"}, + link= "samples.html" + }, + { + name= {en= "Lua Binding", pt= "Ligação com Lua"}, + link= "cdlua.html" + }, + { + name= {en= "CDLua+IMLua", pt= "Ligação com Lua"}, + link= "cdluaim.html" + } + } + }, + { link= "", name= {en= "" } }, + { + name= {en= "Canvas"}, + link= "canvas.html", + folder= + { + { + name= {en= "Initialization"}, + folder= + { + { + name= {nl= "CreateCanvas"}, + link= "func/init.html#cdCreateCanvas" + }, + { + name= {nl= "CreateCanvasf"}, + link= "func/init.html#cdCreateCanvasf" + }, + { + name= {nl= "KillCanvas"}, + link= "func/init.html#cdKillCanvas" + }, + { + name= {nl= "Activate"}, + link= "func/init.html#cdCanvasActivate" + }, + { + name= {nl= "Deactivate"}, + link= "func/init.html#cdCanvasDeactivate" + }, + { + name= {nl= "UseContextPlus"}, + link= "func/init.html#cdUseContextPlus" + }, + { + name= {nl= "InitContextPlus"}, + link= "func/init.html#cdInitContextPlus" + }, + { link= "", name= {en= "" } }, + { + name= {nl= "GetContext"}, + link= "func/init.html#cdGetContext" + }, + { + name= {nl= "ContextCaps"}, + link= "func/init.html#cdContextCaps" + }, + { + name= {nl= "Simulate"}, + link= "func/init.html#cdSimulate" + }, + { link= "", name= {en= "" } }, + { + name= {nl= "cdlua_open"}, + link= "func/init.html#cdlua_open" + }, + { + name= {nl= "cdlua_close"}, + link= "func/init.html#cdlua_close" + }, + { + name= {nl= "cdlua_getcanvas"}, + link= "func/init.html#cdlua_getcanvas" + } + } + }, + { + name= {en= "Control"}, + folder= + { + { + name= {nl= "Clear"}, + link= "func/control.html#cdClear" + }, + { + name= {nl= "Flush"}, + link= "func/control.html#cdFlush" + }, + { + name= {nl= "SaveState"}, + link= "func/control.html#cdSaveState" + }, + { + name= {nl= "RestoreState"}, + link= "func/control.html#cdRestoreState" + }, + { + name= {nl= "ReleaseState"}, + link= "func/control.html#cdReleaseState" + }, + { + name= {nl= "SetAttribute"}, + link= "func/control.html#cdSetAttribute" + }, + { + name= {nl= "SetfAttribute"}, + link= "func/control.html#cdSetfAttribute" + }, + { + name= {nl= "GetAttribute"}, + link= "func/control.html#cdGetAttribute" + } + } + }, + { + name= {en= "Coordinate System"}, + folder= + { + { + name= {nl= "GetCanvasSize"}, + link= "func/coordinates.html#cdGetCanvasSize" + }, + { + name= {nl= "UpdateYAxis"}, + link= "func/coordinates.html#cdUpdateYAxis" + }, + { + name= {nl= "MM2Pixel"}, + link= "func/coordinates.html#cdMM2Pixel" + }, + { + name= {nl= "Pixel2MM"}, + link= "func/coordinates.html#cdPixel2MM" + }, + { + name= {nl= "Origin"}, + link= "func/coordinates.html#cdOrigin" + }, + { link= "", name= {en= "" } }, + { + name= {nl= "Transform"}, + link= "func/coordinates.html#cdTransform" + }, + { + name= {nl= "GetTransform"}, + link= "func/coordinates.html#cdGetTransform" + }, + { + name= {nl= "TransformMultiply"}, + link= "func/coordinates.html#cdTransformMultiply" + }, + { + name= {nl= "TransformTranslate"}, + link= "func/coordinates.html#cdTransformTranslate" + }, + { + name= {nl= "TransformScale"}, + link= "func/coordinates.html#cdTransformScale" + }, + { + name= {nl= "TransformRotate"}, + link= "func/coordinates.html#cdTransformRotate" + } + } + }, + { + name= {en= "World Coordinates"}, + link= "func/wd.html", + folder= + { + { + name= {nl= "Window"}, + link= "func/wd.html#wdWindow" + }, + { + name= {nl= "GetWindow"}, + link= "func/wd.html#wdGetWindow" + }, + { + name= {nl= "Viewport"}, + link= "func/wd.html#wdViewport" + }, + { + name= {nl= "GetViewport"}, + link= "func/wd.html#wdGetViewport" + }, + { + name= {nl= "World2Canvas"}, + link= "func/wd.html#wdWorld2Canvas" + }, + { + name= {nl= "Canvas2World"}, + link= "func/wd.html#wdCanvas2World" + }, + { + name= {en= "Extra"}, + folder= + { + { + name= {nl= "Hardcopy"}, + link= "func/wd.html#wdHardcopy" + } + } + } + } + }, + { + name= {en= "General Attributes"}, + folder= + { + { + name= {nl= "Foreground"}, + link= "func/attributes.html#cdForeground" + }, + { + name= {nl= "Background"}, + link= "func/attributes.html#cdBackground" + }, + { + name= {nl= "WriteMode"}, + link= "func/attributes.html#cdWriteMode" + } + } + }, + { + name= {nl= "Clipping"}, + link= "func/clipping.html", + folder= + { + { + name= {nl= "Clip"}, + link= "func/clipping.html#cdClip" + }, + { + name= {nl= "ClipArea"}, + link= "func/clipping.html#cdClipArea" + }, + { + name= {nl= "GetClipArea"}, + link= "func/clipping.html#cdGetClipArea" + }, + { + name= {nl= "Polygons"}, + link= "func/clipping.html#Polygons" + }, + { + name= {nl= "Regions"}, + link= "func/region.html", + folder= + { + { + name= {nl= "Creating"}, + link= "func/region.html#Creating" + }, + { + name= {nl= "RegionCombineMode"}, + link= "func/region.html#cdRegionCombineMode" + }, + { + name= {nl= "RegionCombineMode"}, + link= "func/region.html#cdRegionCombineMode" + }, + { + name= {nl= "PointInRegion"}, + link= "func/region.html#cdPointInRegion" + }, + { + name= {nl= "OffsetRegion"}, + link= "func/region.html#cdOffsetRegion" + }, + { + name= {nl= "RegionBox"}, + link= "func/region.html#cdRegionBox" + } + } + } + } + } + } + }, + { + name= {en= "Primitives"}, + folder= + { + { + name= {en= "Marks"}, + link= "func/marks.html", + folder= + { + { + name= {nl= "Pixel"}, + link= "func/marks.html#cdPixel" + }, + { + name= {nl= "Mark"}, + link= "func/marks.html#cdMark" + }, + { + name= {en= "Attributes"}, + folder= + { + { + name= {nl= "MarkType"}, + link= "func/marks.html#cdMarkType" + }, + { + name= {nl= "MarkSize"}, + link= "func/marks.html#cdMarkSize" + } + } + } + } + }, + { + name= {en= "Lines"}, + link= "func/lines.html", + folder= + { + { + name= {nl= "Line"}, + link= "func/lines.html#cdLine" + }, + { + name= {nl= "Line Polygons/Bezier Curves"}, + link= "func/lines.html#Polygons", + folder= + { + { + name= {nl= "Polygons and Regions"}, + link= "func/polygon.html" + } + } + }, + { + name= {nl= "Rect"}, + link= "func/lines.html#cdRect" + }, + { + name= {nl= "Arc"}, + link= "func/lines.html#cdArc" + }, + { + name= {en= "Attributes"}, + folder= + { + { + name= {nl= "LineStyle"}, + link= "func/lines.html#cdLineStyle" + }, + { + name= {nl= "LineStyleDashes"}, + link= "func/lines.html#cdLineStyleDashes" + }, + { + name= {nl= "LineWidth"}, + link= "func/lines.html#cdLineWidth" + }, + { + name= {nl= "LineJoin"}, + link= "func/lines.html#cdLineJoin" + }, + { + name= {nl= "LineCap"}, + link= "func/lines.html#cdLineCap" + } + } + } + } + }, + { + name= {en= "Filled Areas"}, + link= "func/filled.html", + folder= + { + { + name= {nl= "Polygons"}, + link= "func/filled.html#Polygons" + }, + { + name= {nl= "Box"}, + link= "func/filled.html#cdBox" + }, + { + name= {nl= "Sector"}, + link= "func/filled.html#cdSector" + }, + { + name= {nl= "Chord"}, + link= "func/filled.html#cdChord" + }, + { + name= {en= "Attributes"}, + folder= + { + { + name= {nl= "BackOpacity"}, + link= "func/filled.html#cdBackOpacity" + }, + { + name= {nl= "FillMode"}, + link= "func/filled.html#cdFillMode" + }, + { + name= {nl= "InteriorStyle"}, + link= "func/filled.html#cdInteriorStyle" + }, + { + name= {nl= "Hatch"}, + link= "func/filled.html#cdHatch" + }, + { + name= {nl= "Stipple"}, + link= "func/filled.html#cdStipple" + }, + { + name= {nl= "Stipple (WC)"}, + link= "func/filled.html#wdStipple" + }, + { + name= {nl= "GetStipple"}, + link= "func/filled.html#cdGetStipple" + }, + { + name= {nl= "Pattern"}, + link= "func/filled.html#cdPattern" + }, + { + name= {nl= "Pattern (WC)"}, + link= "func/filled.html#wdPattern" + }, + { + name= {nl= "GetPattern"}, + link= "func/filled.html#cdGetPattern" + }, + { + name= {nl= "Data Access"}, + link= "func/filled.html#DataAccess" + } + } + }, + { + name= {en= "Extras in Lua"}, + folder= + { + { + name= {nl= "CreatePattern"}, + link= "func/filled.html#cdCreatePattern" + }, + { + name= {nl= "KillPattern"}, + link= "func/filled.html#cdKillPattern" + }, + { + name= {nl= "CreateStipple"}, + link= "func/filled.html#cdCreateStipple" + }, + { + name= {nl= "KillStipple"}, + link= "func/filled.html#cdKillStipple" + } + } + } + } + }, + { + name= {en= "Text"}, + link= "func/text.html", + folder= + { + { + name= {nl= "Text"}, + link= "func/text.html#cdText" + }, + { + name= {en= "Attributes"}, + folder= + { + { + name= {nl= "Font"}, + link= "func/text.html#cdFont" + }, + { + name= {nl= "GetFont"}, + link= "func/text.html#cdGetFont" + }, + { + name= {nl= "NativeFont"}, + link= "func/text.html#cdNativeFont" + }, + { + name= {nl= "TextAlignment"}, + link= "func/text.html#cdTextAlignment" + }, + { + name= {nl= "TextOrientation"}, + link= "func/text.html#cdTextOrientation" + } + } + }, + { + name= {en= "Properties"}, + folder= + { + { + name= {nl= "FontDim"}, + link= "func/text.html#cdFontDim" + }, + { + name= {nl= "TextSize"}, + link= "func/text.html#cdTextSize" + }, + { + name= {nl= "TextBox"}, + link= "func/text.html#cdTextBox" + }, + { + name= {nl= "TextBounds"}, + link= "func/text.html#cdTextBounds" + } + } + } + } + }, + { + name= {en= "Vector Text"}, + link= "func/vectortext.html", + folder= + { + { + name= {nl= "VectorText"}, + link= "func/vectortext.html#cdVectorText" + }, + { + name= {nl= "MultiLineVectorText"}, + link= "func/vectortext.html#cdMultiLineVectorText" + }, + { + name= {en= "Attributes"}, + folder= + { + { + name= {nl= "VectorTextDirection"}, + link= "func/vectortext.html#cdVectorTextDirection" + }, + { + name= {nl= "VectorTextTransform"}, + link= "func/vectortext.html#cdVectorTextTransform" + }, + { + name= {nl= "VectorTextSize"}, + link= "func/vectortext.html#cdVectorTextSize" + }, + { + name= {nl= "VectorCharSize"}, + link= "func/vectortext.html#cdVectorCharSize" + }, + { + name= {nl= "VectorFont"}, + link= "func/vectortext.html#cdVectorFont" + } + } + }, + { + name= {en= "Properties"}, + folder= + { + { + name= {nl= "GetVectorTextSize"}, + link= "func/vectortext.html#cdGetVectorTextSize" + }, + { + name= {nl= "GetVectorTextBounds"}, + link= "func/vectortext.html#cdGetVectorTextBounds" + } + } + } + } + }, + { + name= {en= "Client Images"}, + link= "func/client.html", + folder= + { + { + name= {nl= "GetImageRGB"}, + link= "func/client.html#cdGetImageRGB" + }, + { + name= {nl= "PutImageRectRGB"}, + link= "func/client.html#cdPutImageRectRGB" + }, + { + name= {nl= "PutImageRectRGBA"}, + link= "func/client.html#cdPutImageRectRGBA" + }, + { + name= {nl= "PutImageRectMap"}, + link= "func/client.html#cdPutImageRectMap" + }, + { + name= {nl= "RGB2Map"}, + link= "func/client.html#cdRGB2Map" + }, + { + name= {en= "Extras"}, + folder= + { + { + name= {nl= "CreateBitmap"}, + link= "func/client.html#cdCreateBitmap" + }, + { + name= {nl= "InitBitmap"}, + link= "func/client.html#cdInitBitmap" + }, + { + name= {nl= "KillBitmap"}, + link= "func/client.html#cdKillBitmap" + }, + { + name= {nl= "BitmapGetData"}, + link= "func/client.html#cdBitmapGetData" + }, + { + name= {nl= "BitmapSetRect"}, + link= "func/client.html#cdBitmapSetRect" + }, + { + name= {nl= "GetBitmap"}, + link= "func/client.html#cdGetBitmap" + }, + { + name= {nl= "PutBitmap"}, + link= "func/client.html#cdPutBitmap" + }, + { + name= {nl= "BitmapRGB2Map"}, + link= "func/client.html#cdBitmapRGB2Map" + } + } + }, + { + name= {en= "Extras in Lua"}, + folder= + { + { + name= {nl= "CreateImageRGB"}, + link= "func/client.html#cdCreateImageRGB" + }, + { + name= {nl= "KillImageRGB"}, + link= "func/client.html#cdKillImageRGB" + }, + { + name= {nl= "CreateImageRGBA"}, + link= "func/client.html#cdCreateImageRGBA" + }, + { + name= {nl= "KillImageRGBA"}, + link= "func/client.html#cdKillImageRGBA" + }, + { + name= {nl= "CreateImageMap"}, + link= "func/client.html#cdCreateImageMap" + }, + { + name= {nl= "KillImageMap"}, + link= "func/client.html#cdKillImageMap" + }, + { + name= {nl= "Data Access"}, + link= "func/client.html#DataAccess" + } + } + } + } + }, + { + name= {en= "Server Images"}, + link= "func/server.html", + folder= + { + { + name= {nl= "CreateImage"}, + link= "func/server.html#cdCreateImage" + }, + { + name= {nl= "KillImage"}, + link= "func/server.html#cdKillImage" + }, + { + name= {nl= "GetImage"}, + link= "func/server.html#cdGetImage" + }, + { + name= {nl= "PutImageRect"}, + link= "func/server.html#cdPutImageRect" + }, + { + name= {nl= "ScrollArea"}, + link= "func/server.html#cdScrollArea" + } + } + } + } + }, + { + name= {en= "Other"}, + folder= + { + { + name= {en= "System", pt= "Sistema"}, + folder= + { + { + name= {nl= "Version"}, + link= "func/other.html#cdVersion" + } + } + }, + { + name= {en= "Metafile Interpretation", pt= "Interpretação de Metafiles"}, + folder= + { + { + name= {nl= "Play"}, + link= "func/other.html#cdPlay" + }, + { + name= {nl= "RegisterCallback"}, + link= "func/other.html#cdRegisterCallback" + } + } + }, + { + name= {en= "Color Coding", pt= "Codificação de Cores"}, + folder= + { + { + name= {nl= "EncodeColor"}, + link= "func/color.html#cdEncodeColor" + }, + { + name= {nl= "DecodeColor"}, + link= "func/color.html#cdDecodeColor" + }, + { + name= {nl= "EncodeAlpha"}, + link= "func/color.html#cdEncodeAlpha" + }, + { + name= {nl= "DecodeAlpha"}, + link= "func/color.html#cdDecodeAlpha" + }, + { + name= {nl= "Red"}, + link= "func/color.html#cdRed" + }, + { + name= {nl= "Green"}, + link= "func/color.html#cdGreen" + }, + { + name= {nl= "Blue"}, + link= "func/color.html#cdBlue" + }, + { link= "", name= {en= "" } }, + { + name= {nl= "GetColorPlanes"}, + link= "func/color.html#cdGetColorPlanes" + }, + { + name= {nl= "Palette"}, + link= "func/color.html#cdPalette" + }, + { + name= {nl= "CreatePalette"}, + link= "func/color.html#cdCreatePalette" + }, + { + name= {nl= "KillPalette"}, + link= "func/color.html#cdKillPalette" + } + } + } + } + }, + { + name= {nl= "Drivers"}, + link= "drv.html", + folder= + { + { + name= {en= "Window Systems", pt= "Sistemas de Janelas"}, + folder= + { + { + name= {nl= "IUP"}, + link= "drv/iup.html" + }, + { + name= {nl= "Native Window"}, + link= "drv/native.html" + } + } + }, + { + name= {en= "Devices", pt= "Dispositivos"}, + folder= + { + { + name= {nl= "Clipboard"}, + link= "drv/clipbd.html" + }, + { + name= {en= "Printer", pt= "Impressora"}, + link= "drv/printer.html" + }, + { + name= {en= "Picture"}, + link= "drv/picture.html" + } + } + }, + { + name= {en= "Images", pt= "Memória"}, + folder= + { + { + name= {en= "Client Image", pt= "Imagem de Cliente"}, + link= "drv/irgb.html" + }, + { + name= {en= "Server Image", pt= "Imagem de Servidor"}, + link= "drv/image.html" + }, + { + name= {nl= "Client Double Buffer"}, + link= "drv/dbufrgb.html" + }, + { + name= {nl= "Server Double Buffer"}, + link= "drv/dbuf.html" + } + } + }, + { + name= {en= "File", pt= "Arquivo"}, + folder= + { + { + name= {nl= "PDF"}, + link= "drv/pdf.html" + }, + { + name= {nl= "PS"}, + link= "drv/ps.html" + }, + { + name= {nl= "MF"}, + link= "drv/mf.html" + }, + { link= "", name= {en= "" } }, + { + name= {nl= "CGM"}, + link= "drv/cgm.html" + }, + { + name= {nl= "DGN"}, + link= "drv/dgn.html" + }, + { + name= {nl= "DXF"}, + link= "drv/dxf.html" + }, + { link= "", name= {en= "" } }, + { + name= {nl= "EMF"}, + link= "drv/emf.html" + }, + { + name= {nl= "WMF"}, + link= "drv/wmf.html" + }, + { + name= {nl= "DEBUG"}, + link= "drv/debug.html" + } + } + }, + { + name= {en= "Base Drivers"}, + folder= + { + { + name= {en= "Simulation"}, + link= "drv/sim.html" + }, + { + name= {nl= "Win32"}, + link= "drv/win32.html" + }, + { + name= {nl= "Win32 GDI+"}, + link= "drv/gdiplus.html" + }, + { + name= {nl= "X-Win"}, + link= "drv/xwin.html" + }, + { + name= {nl= "XRender"}, + link= "drv/xrender.html" + } + } + } + } + } + } +} -- cgit v1.2.3