{"action":"opened","issue":{"url":"https://api.github.com/repos/litehtml/litehtml/issues/20","labels_url":"https://api.github.com/repos/litehtml/litehtml/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/litehtml/litehtml/issues/20/comments","events_url":"https://api.github.com/repos/litehtml/litehtml/issues/20/events","html_url":"https://github.com/litehtml/litehtml/issues/20","id":88198040,"number":20,"title":"Problem with a protected method","user":{"login":"bigfatbrowncat","id":317189,"avatar_url":"https://avatars.githubusercontent.com/u/317189?v=3","gravatar_id":"","url":"https://api.github.com/users/bigfatbrowncat","html_url":"https://github.com/bigfatbrowncat","followers_url":"https://api.github.com/users/bigfatbrowncat/followers","following_url":"https://api.github.com/users/bigfatbrowncat/following{/other_user}","gists_url":"https://api.github.com/users/bigfatbrowncat/gists{/gist_id}","starred_url":"https://api.github.com/users/bigfatbrowncat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigfatbrowncat/subscriptions","organizations_url":"https://api.github.com/users/bigfatbrowncat/orgs","repos_url":"https://api.github.com/users/bigfatbrowncat/repos","events_url":"https://api.github.com/users/bigfatbrowncat/events{/privacy}","received_events_url":"https://api.github.com/users/bigfatbrowncat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-14T15:03:17Z","updated_at":"2015-06-14T15:03:17Z","closed_at":null,"body":"An architecture problem.\r\nI'm trying to create a custom tag that lays out elements inside. I want to subclass <code>el_div</code> and add some features (I want to make a scrollable <code>div</code> block).\r\n\r\n1. I can't find any <code>el_div.h</code>, but that isn't a problem - <code>el_div</code> is very simple, I can subclass from <code>html_tag</code> directly.\r\n2. I'm trying to create <code>place_element()</code> implementation to modify each sub-element's <code>m_pos</code>. But I can't access <code>el->m_pos</code> from my class.\r\n\r\nWhat should I do? How to accomplish this in a right way?"}}