| 81 | }; |
| 82 | |
| 83 | PiuStyle* PiuStyleLinkCompute(xsMachine *the, PiuStyleLink* chain, PiuApplication* application) |
| 84 | { |
| 85 | PiuStyle* result = (*chain)->computedStyle; |
| 86 | if (result == NULL) { |
| 87 | PiuStyleLink* link = chain; |
| 88 | xsResult = xsGet(xsGlobal, xsID_Style); |
| 89 | xsResult = xsNewFunction0(xsResult); |
| 90 | result = PIU(Style, xsResult); |
| 91 | while (link) { |
| 92 | PiuStyleOverride((*link)->style, result); |
| 93 | link = (*link)->chain; |
| 94 | } |
| 95 | (*chain)->computedStyle = result; |
| 96 | PiuStyleLookupFont(result); |
| 97 | } |
| 98 | return result; |
| 99 | } |
| 100 | |
| 101 | void PiuStyleLinkMark(xsMachine* the, void* it, xsMarkRoot markRoot) |
| 102 | { |
no test coverage detected